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 <Thomas.Hartmann@digia.com>
This commit is contained in:
Thomas Hartmann
2014-05-16 11:23:56 +02:00
parent dcf807d712
commit 049a10fa40

View File

@@ -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