Make the font default size #19

master
Jeremy Hu 2018-12-02 08:24:04 +09:30
parent d1db4c831a
commit ba218b7168
7 changed files with 8 additions and 8 deletions

View File

@ -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);

View File

@ -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);

View File

@ -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;

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);