2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

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

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