Skip to content

Commit

Permalink
Theme/HiDPI: fix some icons
Browse files Browse the repository at this point in the history
  • Loading branch information
rodlie committed Aug 11, 2024
1 parent 0a8bf19 commit 9ff62f0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/app/GUI/timelinedockwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -234,9 +234,9 @@ TimelineDockWidget::TimelineDockWidget(Document& document,

eSizesUI::widget.add(mToolBar, [this](const int size) {
mRenderProgress->setFixedHeight(size);
if (eSettings::instance().fCurrentInterfaceDPI != 1.) {
//if (eSettings::instance().fCurrentInterfaceDPI != 1.) {
mToolBar->setIconSize(QSize(size, size));
}
//}
});

QWidget *spacerWidget1 = new QWidget(this);
Expand Down
8 changes: 4 additions & 4 deletions src/app/GUI/toolbox.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@ void MainWindow::setupToolBox()
setupToolBoxNodes();
setupToolBoxDraw();

/*eSizesUI::widget.add(mToolBoxMain, [this](const int size) {
if (eSettings::instance().fCurrentInterfaceDPI != 1.) {
eSizesUI::widget.add(mToolBoxMain, [this](const int size) {
//if (eSettings::instance().fCurrentInterfaceDPI != 1.) {
mToolBoxMain->setIconSize(QSize(size, size));
mToolBoxNodes->setIconSize(QSize(size, size));
mToolBoxDraw->setIconSize(QSize(size, size));
}
});*/
//}
});

mToolBoxMainIndex = mToolBoxStack->addWidget(mToolBoxMain);
mToolBoxNodesIndex = mToolBoxExtraStack->addWidget(mToolBoxNodes);
Expand Down

0 comments on commit 9ff62f0

Please sign in to comment.