forked from qt-creator/qt-creator
QmlDesigner.PropertyEditor: Adding toolTip property to Label
Change-Id: Id76fa747abaae30336a4c0e2fa2c6f5279553f15 Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
This commit is contained in:
@@ -34,6 +34,8 @@ import QtQuick.Layouts 1.0
|
||||
Controls.Label {
|
||||
id: label
|
||||
|
||||
property string toolTip: ""
|
||||
|
||||
width: parent.width < 300 ? 80 : Math.min(140, parent.width - 220)
|
||||
color: "#eee"
|
||||
elide: Text.ElideRight
|
||||
|
||||
Reference in New Issue
Block a user