Make the font default size #19
parent
d1db4c831a
commit
ba218b7168
|
@ -1031,7 +1031,7 @@ void DocumentWindow::initLockButton(QPushButton *button)
|
|||
{
|
||||
QFont font;
|
||||
font.setWeight(QFont::Light);
|
||||
font.setPixelSize(Theme::toolIconFontSize);
|
||||
//font.setPixelSize(Theme::toolIconFontSize);
|
||||
font.setBold(false);
|
||||
|
||||
button->setFont(font);
|
||||
|
|
|
@ -42,7 +42,7 @@ int main(int argc, char ** argv)
|
|||
|
||||
QFont font;
|
||||
font.setWeight(QFont::Light);
|
||||
font.setPixelSize(11);
|
||||
//font.setPixelSize(11);
|
||||
font.setBold(false);
|
||||
QApplication::setFont(font);
|
||||
|
||||
|
|
|
@ -51,7 +51,7 @@ MaterialEditWidget::MaterialEditWidget(const Document *document, QWidget *parent
|
|||
|
||||
QFont nameFont;
|
||||
nameFont.setWeight(QFont::Light);
|
||||
nameFont.setPixelSize(9);
|
||||
//nameFont.setPixelSize(9);
|
||||
nameFont.setBold(false);
|
||||
|
||||
QGridLayout *mapLayout = new QGridLayout;
|
||||
|
|
|
@ -19,7 +19,7 @@ MaterialWidget::MaterialWidget(const Document *document, QUuid materialId) :
|
|||
|
||||
QFont nameFont;
|
||||
nameFont.setWeight(QFont::Light);
|
||||
nameFont.setPixelSize(9);
|
||||
//nameFont.setPixelSize(9);
|
||||
nameFont.setBold(false);
|
||||
m_nameLabel->setFont(nameFont);
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ MotionWidget::MotionWidget(const Document *document, QUuid motionId) :
|
|||
|
||||
QFont nameFont;
|
||||
nameFont.setWeight(QFont::Light);
|
||||
nameFont.setPixelSize(9);
|
||||
//nameFont.setPixelSize(9);
|
||||
nameFont.setBold(false);
|
||||
m_nameLabel->setFont(nameFont);
|
||||
|
||||
|
|
|
@ -40,11 +40,11 @@ PartTreeWidget::PartTreeWidget(const Document *document, QWidget *parent) :
|
|||
"QTreeView::branch:open:has-children:!has-siblings, QTreeView::branch:open:has-children:has-siblings {border-image: none; image: url(:/resources/tree-branch-open.png);}");
|
||||
|
||||
m_normalFont.setWeight(QFont::Light);
|
||||
m_normalFont.setPixelSize(9);
|
||||
//m_normalFont.setPixelSize(9);
|
||||
m_normalFont.setBold(false);
|
||||
|
||||
m_selectedFont.setWeight(QFont::Light);
|
||||
m_selectedFont.setPixelSize(9);
|
||||
//m_selectedFont.setPixelSize(9);
|
||||
m_selectedFont.setBold(true);
|
||||
|
||||
setFont(m_normalFont);
|
||||
|
|
|
@ -19,7 +19,7 @@ PoseWidget::PoseWidget(const Document *document, QUuid poseId) :
|
|||
|
||||
QFont nameFont;
|
||||
nameFont.setWeight(QFont::Light);
|
||||
nameFont.setPixelSize(9);
|
||||
//nameFont.setPixelSize(9);
|
||||
nameFont.setBold(false);
|
||||
m_nameLabel->setFont(nameFont);
|
||||
|
||||
|
|
Loading…
Reference in New Issue