diff options
author | Thomas Hartmann <thomas.hartmann@qt.io> | 2017-07-06 11:35:40 +0200 |
---|---|---|
committer | Thomas Hartmann <thomas.hartmann@qt.io> | 2017-07-10 08:42:18 +0000 |
commit | cc188f897af27daf47b0937e38ccb76ac2310abb (patch) | |
tree | f270b3f5e62abd64a20027b957a43204379dabfe /src/imports/controls/designer | |
parent | 815cae4eb4887956a62e12ca357a0ec797dfc08f (diff) |
Add color and styleColor to property editor for Label
Change-Id: Ie8ecc3874a61b29083e53441c3f484b94195ec46
Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/imports/controls/designer')
-rw-r--r-- | src/imports/controls/designer/LabelSpecifics.qml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/imports/controls/designer/LabelSpecifics.qml b/src/imports/controls/designer/LabelSpecifics.qml index 20f5013b..48cf8d05 100644 --- a/src/imports/controls/designer/LabelSpecifics.qml +++ b/src/imports/controls/designer/LabelSpecifics.qml @@ -48,6 +48,30 @@ Column { showVerticalAlignment: true } + Section { + anchors.left: parent.left + anchors.right: parent.right + caption: qsTr("Text Color") + + ColorEditor { + caption: qsTr("Text Color") + backendValue: backendValues.color + supportGradient: false + } + } + + Section { + anchors.left: parent.left + anchors.right: parent.right + caption: qsTr("Style Color") + + ColorEditor { + caption: qsTr("Style Color") + backendValue: backendValues.styleColor + supportGradient: false + } + } + FontSection { width: parent.width } |