summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Hartmann <thomas.hartmann@qt.io>2019-06-12 11:37:42 +0200
committerThomas Hartmann <thomas.hartmann@qt.io>2019-06-12 11:30:20 +0000
commitb94c725f0f3e3ec63424c8a9feb09837b6e5285e (patch)
treea514e8111108851f0e2c3e8ed563181ec70b2b39
parent0ec78b7b3effaa0fad43c4803374aba89ea09dfc (diff)
downloadqt-creator-b94c725f0f3e3ec63424c8a9feb09837b6e5285e.tar.gz
QmlDesigner: Reserve less space for label
We currently waste too much space for long label. Eliding works fine for long property names. Change-Id: I1fe2836e8c06cff93e2a48c6290265ab300e5321 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
-rw-r--r--share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/Label.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/Label.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/Label.qml
index 23901e8dc9..e4129c6dcf 100644
--- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/Label.qml
+++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/Label.qml
@@ -37,7 +37,7 @@ Controls.Label {
// workaround because PictureSpecifics.qml still use this
property alias toolTip: toolTipArea.tooltip
- width: Math.max(Math.min(240, parent.width - 220), 80)
+ width: Math.max(Math.min(240, parent.width - 280), 50)
color: Theme.color(Theme.PanelTextColorLight)
elide: Text.ElideRight