From 4a897e0395d436fa7109e43a0e2781e5676e81df Mon Sep 17 00:00:00 2001 From: Henning Gruendl Date: Mon, 9 Jan 2023 15:54:53 +0100 Subject: [PATCH] QmlDesigner: Enable sourceRect property Enable sourceRect property to Item layer specifics Change-Id: If2f47c2ad47a083d5c4a30c9154a7631616ea257 Reviewed-by: Pranta Ghosh Dastider Reviewed-by: Thomas Hartmann --- .../propertyEditorQmlSources/QtQuick/LayerSection.qml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/LayerSection.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/LayerSection.qml index 72455eeef50..b4752192f51 100644 --- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/LayerSection.qml +++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/LayerSection.qml @@ -235,10 +235,10 @@ Section { ExpandingSpacer {} } -/* + PropertyLabel { - text: qsTr("Source Rectangle") - tooltip: qsTr("TODO.") + text: qsTr("Source rectangle") + tooltip: qsTr("Sets the rectangular area of the component that should be rendered into the texture.") } SecondColumnLayout { @@ -313,6 +313,5 @@ Section { ExpandingSpacer {} } -*/ } }