mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-22 18:53:28 +01:00
main_window: adjust toolbar size to prevent blurry icons
This commit is contained in:
parent
e93fbc6900
commit
58816e314c
@ -94,10 +94,10 @@ void main_window::Init()
|
||||
|
||||
// for highdpi resize toolbar icons and height dynamically
|
||||
// choose factors to mimic Gui-Design in main_window.ui
|
||||
const int toolBarHeight = menuBar()->sizeHint().height() * 2;
|
||||
const int toolBarHeight = menuBar()->sizeHint().height() * 1.5;
|
||||
ui->toolBar->setIconSize(QSize(toolBarHeight, toolBarHeight));
|
||||
ui->sizeSliderContainer->setFixedWidth(toolBarHeight * 5);
|
||||
ui->sizeSlider->setFixedHeight(toolBarHeight * 0.625f);
|
||||
ui->sizeSlider->setFixedHeight(toolBarHeight * 0.65f);
|
||||
|
||||
CreateActions();
|
||||
CreateDockWindows();
|
||||
|
Loading…
Reference in New Issue
Block a user