Mercurial > hg > svgui
diff widgets/PropertyStack.cpp @ 1203:ff042979331b 3.0-integration
Merge from branch svg, and thus (in some subrepos) from levelpanwidget
author | Chris Cannam |
---|---|
date | Mon, 19 Dec 2016 16:34:38 +0000 |
parents | 3f5c82034f9b |
children | a34a2a25907c |
line wrap: on
line diff
--- a/widgets/PropertyStack.cpp Wed Dec 14 11:56:47 2016 +0000 +++ b/widgets/PropertyStack.cpp Mon Dec 19 16:34:38 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();