Mercurial > hg > svgui
diff widgets/PropertyStack.cpp @ 1174:3f5c82034f9b more-hidpi
Scale the sizes of a few more UI elements
author | Chris Cannam |
---|---|
date | Mon, 05 Dec 2016 12:04:23 +0000 |
parents | 66da6f009edd |
children | a34a2a25907c |
line wrap: on
line diff
--- a/widgets/PropertyStack.cpp Wed Nov 30 11:01:39 2016 +0000 +++ b/widgets/PropertyStack.cpp Mon Dec 05 12:04:23 2016 +0000 @@ -25,6 +25,8 @@ #include "widgets/CommandHistory.h" #include "layer/ShowLayerCommand.h" +#include "WidgetScale.h" + #include <QIcon> #include <QTabWidget> @@ -45,11 +47,9 @@ setTabBar(bar); -#if (QT_VERSION >= 0x0402) setElideMode(Qt::ElideNone); tabBar()->setUsesScrollButtons(true); - tabBar()->setIconSize(QSize(16, 16)); -#endif + tabBar()->setIconSize(WidgetScale::scaleQSize(QSize(16, 16))); repopulate();