From 18b22e8d7620c6a858cd252d348548ee7a3fd5b5 Mon Sep 17 00:00:00 2001 From: Thomas Hartmann <Thomas.Hartmann@digia.com> Date: Wed, 9 Oct 2013 11:32:31 +0200 Subject: [PATCH] QmlDesigner.PropertyEditor: styling empty pane Change-Id: I5910b9a8c4f734fe50f7c8ed5d863e181be2894c Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com> --- .../QtQuick/emptyPane.qml | 24 +++++++++++++------ 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/emptyPane.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/emptyPane.qml index a3423ae9268..15f6a80781e 100644 --- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/emptyPane.qml +++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/emptyPane.qml @@ -28,15 +28,25 @@ ****************************************************************************/ import QtQuick 2.1 +import HelperWidgets 2.0 Rectangle { - width: 100 - height: 200 - color: "#ff2323" + id: itemPane + width: 320 + height: 400 + color: "#404040" - Text { - id: test - text: "empty" - anchors.fill: parent + Section { + anchors.left: parent.left + anchors.right: parent.right + + SectionLayout { + + Label { + id: test + text: qsTr("None or multiple items selected."); + anchors.fill: parent + } + } } } -- GitLab