Qt: Tweak status bar styling

This commit is contained in:
Yuri Kunde Schlesner 2017-02-20 16:53:40 -08:00
parent 915d69ac4c
commit 1469b3212b
1 changed files with 2 additions and 0 deletions

View File

@ -109,6 +109,8 @@ void GMainWindow::InitializeWidgets() {
for (auto& label : {emu_speed_label, game_fps_label, emu_frametime_label}) { for (auto& label : {emu_speed_label, game_fps_label, emu_frametime_label}) {
label->setVisible(false); label->setVisible(false);
label->setFrameStyle(QFrame::NoFrame);
label->setContentsMargins(4, 0, 4, 0);
statusBar()->addPermanentWidget(label); statusBar()->addPermanentWidget(label);
} }
statusBar()->setVisible(true); statusBar()->setVisible(true);