diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/TextInputSpecifics.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/TextInputSpecifics.qml index abe887f35acbd94d02a0203494f6269f0b3dbb31..84c6c134f02e3bc6179821b13fdae13daab6b067 100644 --- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/TextInputSpecifics.qml +++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/TextInputSpecifics.qml @@ -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 { useLineEdit: false showIsWrapping: false } FontSection { - showStyle: true + showStyle: false } }