summaryrefslogtreecommitdiff
path: root/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick
diff options
context:
space:
mode:
authorAlessandro Portale <alessandro.portale@qt.io>2016-10-13 14:39:13 +0200
committerAlessandro Portale <alessandro.portale@qt.io>2016-10-13 14:48:18 +0000
commitb17c43b6d9c48a9ff41a7b6d53c4cd5358e483db (patch)
tree4164f22f3db79685f0ce97fed9e0239996b030c9 /share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick
parente0a6b45f22963e745a7735c36e6b477bc7d03bdd (diff)
downloadqt-creator-b17c43b6d9c48a9ff41a7b6d53c4cd5358e483db.tar.gz
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 <Thomas.Hartmann@theqtcompany.com>
Diffstat (limited to 'share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick')
-rw-r--r--share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/ItemPane.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/ItemPane.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/ItemPane.qml
index 09134d52b5..409854f72d 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