forked from qt-creator/qt-creator
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 <mats.honkamaa@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
committed by
Pranta Ghosh Dastider
parent
e68807bd0b
commit
6016ef8bd8
@@ -16,7 +16,10 @@ Column {
|
|||||||
caption: qsTr("Rectangle")
|
caption: qsTr("Rectangle")
|
||||||
|
|
||||||
SectionLayout {
|
SectionLayout {
|
||||||
PropertyLabel { text: qsTr("Fill color") }
|
PropertyLabel {
|
||||||
|
text: qsTr("Fill color")
|
||||||
|
tooltip: qsTr("Sets the color for the background.")
|
||||||
|
}
|
||||||
|
|
||||||
ColorEditor {
|
ColorEditor {
|
||||||
backendValue: backendValues.color
|
backendValue: backendValues.color
|
||||||
@@ -25,6 +28,7 @@ Column {
|
|||||||
|
|
||||||
PropertyLabel {
|
PropertyLabel {
|
||||||
text: qsTr("Border color")
|
text: qsTr("Border color")
|
||||||
|
tooltip: qsTr("Sets the color for the border.")
|
||||||
visible: backendValues.border_color.isAvailable
|
visible: backendValues.border_color.isAvailable
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -36,6 +40,7 @@ Column {
|
|||||||
|
|
||||||
PropertyLabel {
|
PropertyLabel {
|
||||||
text: qsTr("Border width")
|
text: qsTr("Border width")
|
||||||
|
tooltip: qsTr("Sets the border width.")
|
||||||
blockedByTemplate: !backendValues.border_width.isAvailable
|
blockedByTemplate: !backendValues.border_width.isAvailable
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -51,7 +56,10 @@ Column {
|
|||||||
ExpandingSpacer {}
|
ExpandingSpacer {}
|
||||||
}
|
}
|
||||||
|
|
||||||
PropertyLabel { text: qsTr("Radius") }
|
PropertyLabel {
|
||||||
|
text: qsTr("Radius")
|
||||||
|
tooltip: qsTr("Sets the radius by which the corners get rounded.")
|
||||||
|
}
|
||||||
|
|
||||||
SecondColumnLayout {
|
SecondColumnLayout {
|
||||||
SpinBox {
|
SpinBox {
|
||||||
|
|||||||
Reference in New Issue
Block a user