From b94c725f0f3e3ec63424c8a9feb09837b6e5285e Mon Sep 17 00:00:00 2001 From: Thomas Hartmann Date: Wed, 12 Jun 2019 11:37:42 +0200 Subject: [PATCH] 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 --- .../propertyEditorQmlSources/imports/HelperWidgets/Label.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/Label.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/Label.qml index 23901e8dc92..e4129c6dcff 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