From d787d72492353466aa0a20339ecdb67b56ed5758 Mon Sep 17 00:00:00 2001 From: f4exb Date: Tue, 12 Jan 2016 06:13:11 +0100 Subject: [PATCH] Normalize central spectrum font --- sdrbase/mainwindow.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sdrbase/mainwindow.cpp b/sdrbase/mainwindow.cpp index 879db2617..04b6c0065 100644 --- a/sdrbase/mainwindow.cpp +++ b/sdrbase/mainwindow.cpp @@ -625,6 +625,13 @@ MainWindow::DeviceUISet::DeviceUISet(QTimer& timer) m_spectrumGUI->setBuddies(m_spectrumVis->getInputMessageQueue(), m_spectrumVis, m_spectrum); m_channelWindow = new ChannelWindow; m_sampleSource = new QComboBox; + + // m_spectrum needs to have its font to be set since it cannot be inherited from the main window + QFont font; + font.setFamily(QStringLiteral("Sans Serif")); + font.setPointSize(9); + m_spectrum->setFont(font); + } MainWindow::DeviceUISet::~DeviceUISet()