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