QmlDesigner.PropertyEditor: Adding toolTip property to Label

Change-Id: Id76fa747abaae30336a4c0e2fa2c6f5279553f15
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
This commit is contained in:
Thomas Hartmann
2013-10-09 16:14:01 +02:00
parent 37edb06c1e
commit b24c094efd

View File

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