From 049a10fa4055da4c56cca5fe028fec4405fce933 Mon Sep 17 00:00:00 2001 From: Thomas Hartmann Date: Fri, 16 May 2014 11:23:56 +0200 Subject: [PATCH] QmlDesigner.PropertyEditor: Allow more space for labels. On some systems the fonts are eally huge, so we have to allow much more space for the leading label. Task-number: QTCREATORBUG-12106 Change-Id: I7ad6687c4af15b2126efe2c3bd8284d36d9ac633 Reviewed-by: Thomas Hartmann --- .../propertyEditorQmlSources/HelperWidgets/Label.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/HelperWidgets/Label.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/HelperWidgets/Label.qml index 9a209cb0949..4b624e28fa3 100644 --- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/HelperWidgets/Label.qml +++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/HelperWidgets/Label.qml @@ -37,7 +37,7 @@ Controls.Label { property alias toolTip: toolTipArea.toolTip - width: parent.width < 300 ? 80 : Math.min(140, parent.width - 220) + width: Math.max(Math.min(240, parent.width - 220), 80) color: "#eee" elide: Text.ElideRight