mirror of
https://git.suyu.dev/suyu/suyu
synced 2024-11-01 04:47:53 +00:00
Qt: Tweak status bar styling
This commit is contained in:
parent
915d69ac4c
commit
1469b3212b
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue