aboutsummaryrefslogtreecommitdiffstats
path: root/share/qtcreator
diff options
context:
space:
mode:
authorAleksei German <aleksei.german@qt.io>2020-09-18 16:15:09 +0200
committerThomas Hartmann <thomas.hartmann@qt.io>2020-09-19 10:54:29 +0000
commit7d21caabdb98660439f81da51bb212d5d857ce02 (patch)
treeeb94998fbb4b0e8acea97d78bf88c0282b4f4256 /share/qtcreator
parentbdbb0baa0f1b8411226c5c22493e074ed477ee40 (diff)
QmlDesigner: Minor Fixes for QDS MCU compatibility
Change-Id: I401ecf9ce12d7020e78a5449b321fb7927caffed Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Diffstat (limited to 'share/qtcreator')
-rw-r--r--share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/RectangleSpecifics.qml3
1 files changed, 2 insertions, 1 deletions
diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/RectangleSpecifics.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/RectangleSpecifics.qml
index 3cd5d90399..f743af96e0 100644
--- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/RectangleSpecifics.qml
+++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/RectangleSpecifics.qml
@@ -64,18 +64,19 @@ Column {
anchors.left: parent.left
anchors.right: parent.right
caption: "Rectangle"
- visible: backendValues.border_color.isAvailable
SectionLayout {
rows: 2
Label {
text: qsTr("Border")
+ disabledState: !backendValues.border_width.isAvailable
}
SecondColumnLayout {
SpinBox {
backendValue: backendValues.border_width
hasSlider: true
Layout.preferredWidth: 120
+ enabled: backendValue.isAvailable
}
ExpandingSpacer {