forked from qt-creator/qt-creator
Unify the dimensions for all mode/action bar icons
Having icons of all different kinds of sizes makes it difficult to get the painting right in all cases. It definitely fails when the szsytem is running in multi-monitor mode with different scaling factors. Unifying the dimensions makes it possible. This change should not cause any visual difference in a purely scaled or unscaled screen. Task-number: QTCREATORBUG-18869 Change-Id: I3a864c9a86036b4f4f3b350a489077b247ca85b7 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
@@ -207,7 +207,7 @@ const char TR_CLEAR_MENU[] = QT_TRANSLATE_NOOP("Core", "Clear Menu");
|
||||
|
||||
const char DEFAULT_BUILD_DIRECTORY[] = "../%{JS: Util.asciify(\"build-%{CurrentProject:Name}-%{CurrentKit:FileSystemName}-%{CurrentBuild:Name}\")}";
|
||||
|
||||
const int TARGET_ICON_SIZE = 32;
|
||||
const int MODEBAR_ICON_SIZE = 34;
|
||||
const int DEFAULT_MAX_LINE_COUNT = 100000;
|
||||
|
||||
} // namespace Constants
|
||||
|
||||
Reference in New Issue
Block a user