Skip to content
Snippets Groups Projects
Commit a2511021 authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner.PropertyEditor: fix color editing in RectangleSpecifics


Change-Id: I9c504f708e0d52fce2cb7c6fa3fe1b021c257435
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@digia.com>
parent 6a9cbb25
No related branches found
No related tags found
No related merge requests found
...@@ -39,30 +39,30 @@ Column { ...@@ -39,30 +39,30 @@ Column {
Section { Section {
anchors.left: parent.left anchors.left: parent.left
anchors.right: parent.right anchors.right: parent.right
caption: "Color" caption: qsTr("Color")
ColorEditor { ColorEditor {
id: colorEditor caption: qsTr("Color")
color: backendValues.color.value backendendValue: backendValues.color
onColorChanged: { supportGradient: true
//backendValues.color.value = color }
//Delay setting the color to keep ui responsive
colorEditorTimer.restart()
}
Timer {
id: colorEditorTimer
repeat: false
interval: 100
onTriggered: {
backendValues.color.value = colorEditor.color
}
}
} }
Section {
anchors.left: parent.left
anchors.right: parent.right
caption: qsTr("Border Color")
ColorEditor {
caption: qsTr("Border Color")
backendendValue: backendValues.border_color
supportGradient: false
}
} }
Section { Section {
anchors.left: parent.left anchors.left: parent.left
anchors.right: parent.right anchors.right: parent.right
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment