chore: MainWindow, use system correct monospace font for log
This commit is contained in:
committed by
Chris Rizzitello
parent
c7873f2f81
commit
e828563190
@ -85,6 +85,14 @@ MainWindow::MainWindow()
|
||||
{
|
||||
ui->setupUi(this);
|
||||
|
||||
// setup the log font
|
||||
ui->textLog->setFont(QFontDatabase::systemFont(QFontDatabase::FixedFont));
|
||||
#ifdef Q_OS_MAC
|
||||
auto f = ui->textLog->font();
|
||||
f.setPixelSize(12);
|
||||
ui->textLog->setFont(f);
|
||||
#endif
|
||||
|
||||
// Setup Actions
|
||||
m_actionAbout->setText(tr("About %1...").arg(kAppName));
|
||||
m_actionAbout->setMenuRole(QAction::AboutRole);
|
||||
|
||||
@ -424,12 +424,6 @@
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Courier</family>
|
||||
<kerning>true</kerning>
|
||||
</font>
|
||||
</property>
|
||||
<property name="lineWrapMode">
|
||||
<enum>QPlainTextEdit::LineWrapMode::NoWrap</enum>
|
||||
</property>
|
||||
|
||||
Reference in New Issue
Block a user