Skip to content
Snippets Groups Projects
Commit 54003767 authored by Matthias's avatar Matthias
Browse files

add TODOs for eventually needed checks on high-dpi devices

parent 54ecec16
No related branches found
No related tags found
No related merge requests found
...@@ -298,7 +298,7 @@ void MainWindow::addView(ViewId id, const QIcon& icon, const QString& title, con ...@@ -298,7 +298,7 @@ void MainWindow::addView(ViewId id, const QIcon& icon, const QString& title, con
QToolButton* btn = createViewSelectionButton(); QToolButton* btn = createViewSelectionButton();
m_viewSelectionButtonsLayout->insertWidget(id, btn); m_viewSelectionButtonsLayout->insertWidget(id, btn);
btn->setFixedSize(70, 70); // #TODO: High-DPI? btn->setFixedSize(70, 70); // TODO: check with High-DPI devices!
btn->setText(title); btn->setText(title);
btn->setToolTip(tooltip); btn->setToolTip(tooltip);
btn->setIcon(icon); btn->setIcon(icon);
...@@ -329,7 +329,7 @@ QToolButton* MainWindow::createViewSelectionButton() const { ...@@ -329,7 +329,7 @@ QToolButton* MainWindow::createViewSelectionButton() const {
btn->setCheckable(true); btn->setCheckable(true);
btn->setToolButtonStyle(Qt::ToolButtonTextUnderIcon); btn->setToolButtonStyle(Qt::ToolButtonTextUnderIcon);
btn->setIconSize({50, 50}); // #TODO: High-DPI? btn->setIconSize({50, 50}); // TODO: check with High-DPI devices!
btn->setToolButtonStyle(Qt::ToolButtonTextUnderIcon); btn->setToolButtonStyle(Qt::ToolButtonTextUnderIcon);
btn->setStyleSheet(viewSelectionButtonStyle); btn->setStyleSheet(viewSelectionButtonStyle);
return btn; return btn;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment