From b17c43b6d9c48a9ff41a7b6d53c4cd5358e483db Mon Sep 17 00:00:00 2001 From: Alessandro Portale Date: Thu, 13 Oct 2016 14:39:13 +0200 Subject: [PATCH] QmlDesigner: Make sure that the export alias icon is not scaled SecondColumnLayout would otherwise scale it up, at least on HightDPI. Change-Id: I5c1bd6357e8559deee26002b90128abfbacf449f Reviewed-by: Thomas Hartmann --- .../qmldesigner/propertyEditorQmlSources/QtQuick/ItemPane.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/ItemPane.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/ItemPane.qml index 09134d52b5b..409854f72df 100644 --- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/ItemPane.qml +++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/ItemPane.qml @@ -78,8 +78,8 @@ Rectangle { // right size after resizing to a wider width Image { - width: 16 - height: 16 + Layout.preferredWidth: 16 + Layout.preferredHeight: 16 source: hasAliasExport ? "image://icons/alias-export-checked" : "image://icons/alias-export-unchecked" ToolTipArea { anchors.fill: parent