diff options
author | Mitch Curtis <mitch.curtis@theqtcompany.com> | 2015-11-27 09:56:12 +0100 |
---|---|---|
committer | Mitch Curtis <mitch.curtis@theqtcompany.com> | 2015-11-27 11:37:11 +0000 |
commit | 7031e85adf44355b56a5ec740ab26a7eb3d8f740 (patch) | |
tree | 87e198e88ead8d1b94567ce0bfcea71d99b847e3 /src/imports/controls/TextArea.qml | |
parent | bb807b32b7e85bc4ae5c2d2b7c627e0e2bde90ff (diff) |
Remove Theme
Given the presence of alternative styles, we'd like to focus on making
the default style as performant as possible. Removing Theme usage
is a step towards this.
Change-Id: I8f76dc98442e6c02703885591a44758f40c7a362
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
Diffstat (limited to 'src/imports/controls/TextArea.qml')
-rw-r--r-- | src/imports/controls/TextArea.qml | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/imports/controls/TextArea.qml b/src/imports/controls/TextArea.qml index d4fa9497..de5994e8 100644 --- a/src/imports/controls/TextArea.qml +++ b/src/imports/controls/TextArea.qml @@ -35,7 +35,6 @@ ****************************************************************************/ import QtQuick 2.6 -import Qt.labs.controls 1.0 import Qt.labs.templates 1.0 as T T.TextArea { @@ -50,9 +49,9 @@ T.TextArea { padding: 6 - color: enabled ? Theme.textColor : Theme.disabledColor - selectionColor: Theme.selectionColor - selectedTextColor: Theme.selectedTextColor + color: enabled ? "#26282a" : "#c2c2c2" +// selectionColor: TODO +// selectedTextColor: TODO Text { id: placeholder @@ -63,7 +62,7 @@ T.TextArea { text: control.placeholderText font: control.font - color: control.Theme.disabledColor + color: "#c2c2c2" horizontalAlignment: control.horizontalAlignment verticalAlignment: control.verticalAlignment visible: !control.length && (!control.activeFocus || control.horizontalAlignment !== Qt.AlignHCenter) |