chore: MainWindow, use system correct monospace font for log

This commit is contained in:
sithlord48
2025-07-14 09:56:21 -04:00
committed by Chris Rizzitello
parent c7873f2f81
commit e828563190
2 changed files with 8 additions and 6 deletions

View File

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

View File

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