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

QmlDesigner.PropertyEditor: fix color editing in TextEditSpecifics


Change-Id: I90c9743d6ec19b557721c45913da480f30b34e16
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@digia.com>
parent a2511021
No related branches found
No related tags found
No related merge requests found
...@@ -38,32 +38,34 @@ Column { ...@@ -38,32 +38,34 @@ Column {
Section { Section {
anchors.left: parent.left anchors.left: parent.left
anchors.right: parent.right anchors.right: parent.right
caption: "Color" caption: qsTr("Text Color")
GridLayout {
columns: 2 ColorEditor {
rows: 2 caption: qsTr(" Text Color")
Label { backendendValue: backendValues.color
text: "Text Color" supportGradient: true
}
LineEdit {
backendValue: backendValues.color
}
Label {
text: "Style Color"
}
LineEdit {
backendValue: backendValues.styleColor
}
} }
} }
Section {
anchors.left: parent.left
anchors.right: parent.right
caption: qsTr("Selection Color")
ColorEditor {
caption: qsTr("Selection Color")
backendendValue: backendValues.selectionColor
supportGradient: false
}
}
StandardTextSection { StandardTextSection {
showIsWrapping: true showIsWrapping: true
useLineEdit: true useLineEdit: true
} }
FontSection { FontSection {
showStyle: true showStyle: false
} }
} }
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