forked from qt-creator/qt-creator
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user