forked from qt-creator/qt-creator
QmlDesigner.PropertyEditor: fix color editing in TextEditSpecifics
Change-Id: I90c9743d6ec19b557721c45913da480f30b34e16 Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
This commit is contained in:
@@ -38,32 +38,34 @@ Column {
|
||||
Section {
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
caption: "Color"
|
||||
GridLayout {
|
||||
columns: 2
|
||||
rows: 2
|
||||
Label {
|
||||
text: "Text Color"
|
||||
}
|
||||
LineEdit {
|
||||
backendValue: backendValues.color
|
||||
}
|
||||
Label {
|
||||
text: "Style Color"
|
||||
}
|
||||
LineEdit {
|
||||
backendValue: backendValues.styleColor
|
||||
}
|
||||
caption: qsTr("Text Color")
|
||||
|
||||
ColorEditor {
|
||||
caption: qsTr(" Text Color")
|
||||
backendendValue: backendValues.color
|
||||
supportGradient: true
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Section {
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
caption: qsTr("Selection Color")
|
||||
|
||||
ColorEditor {
|
||||
caption: qsTr("Selection Color")
|
||||
backendendValue: backendValues.selectionColor
|
||||
supportGradient: false
|
||||
}
|
||||
}
|
||||
|
||||
StandardTextSection {
|
||||
showIsWrapping: true
|
||||
useLineEdit: true
|
||||
}
|
||||
|
||||
FontSection {
|
||||
showStyle: true
|
||||
showStyle: false
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user