From 6016ef8bd80a411ac92fef753c28dfcc26465a22 Mon Sep 17 00:00:00 2001 From: Pranta Dastider Date: Thu, 2 Feb 2023 17:49:09 +0100 Subject: [PATCH] QmlDesigner: Update Tooltips for Rectangle Section This patch update tooltip text for Rectangle fields in Property editor. Fixes: QDS-9002 Change-Id: I23a9456bb7f4555b42d6a0b6fb5ea8f2d7ddb2cb Reviewed-by: Mats Honkamaa Reviewed-by: Reviewed-by: Thomas Hartmann --- .../QtQuick/RectangleSpecifics.qml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/RectangleSpecifics.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/RectangleSpecifics.qml index a5b03b046fe..458ce5c1cd8 100644 --- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/RectangleSpecifics.qml +++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/RectangleSpecifics.qml @@ -16,7 +16,10 @@ Column { caption: qsTr("Rectangle") SectionLayout { - PropertyLabel { text: qsTr("Fill color") } + PropertyLabel { + text: qsTr("Fill color") + tooltip: qsTr("Sets the color for the background.") + } ColorEditor { backendValue: backendValues.color @@ -25,6 +28,7 @@ Column { PropertyLabel { text: qsTr("Border color") + tooltip: qsTr("Sets the color for the border.") visible: backendValues.border_color.isAvailable } @@ -36,6 +40,7 @@ Column { PropertyLabel { text: qsTr("Border width") + tooltip: qsTr("Sets the border width.") blockedByTemplate: !backendValues.border_width.isAvailable } @@ -51,7 +56,10 @@ Column { ExpandingSpacer {} } - PropertyLabel { text: qsTr("Radius") } + PropertyLabel { + text: qsTr("Radius") + tooltip: qsTr("Sets the radius by which the corners get rounded.") + } SecondColumnLayout { SpinBox {