larger fonts on OSX
parent
8f86126a14
commit
5244905a72
|
@ -38,7 +38,11 @@ LoadDialog::LoadDialog(QWidget *parent) :
|
||||||
this, SLOT(onTextMessage(ELogLevel, const QString &)), Qt::QueuedConnection);
|
this, SLOT(onTextMessage(ELogLevel, const QString &)), Qt::QueuedConnection);
|
||||||
QFont font("Monospace");
|
QFont font("Monospace");
|
||||||
font.setStyleHint(QFont::TypeWriter);
|
font.setStyleHint(QFont::TypeWriter);
|
||||||
|
#if defined(__OSX__)
|
||||||
|
font.setPointSize(10);
|
||||||
|
#else
|
||||||
font.setPointSize(8);
|
font.setPointSize(8);
|
||||||
|
#endif
|
||||||
ui->console->setFont(font);
|
ui->console->setFont(font);
|
||||||
ui->console->setReadOnly(true);
|
ui->console->setReadOnly(true);
|
||||||
QPalette palette;
|
QPalette palette;
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
<widget class="QLabel" name="label_2">
|
<widget class="QLabel" name="label_2">
|
||||||
<property name="font">
|
<property name="font">
|
||||||
<font>
|
<font>
|
||||||
<pointsize>13</pointsize>
|
<pointsize>14</pointsize>
|
||||||
<weight>75</weight>
|
<weight>75</weight>
|
||||||
<bold>true</bold>
|
<bold>true</bold>
|
||||||
</font>
|
</font>
|
||||||
|
|
Loading…
Reference in New Issue