aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/controls/TabButton.qml
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@theqtcompany.com>2015-11-13 10:22:41 +0100
committerJ-P Nurmi <jpnurmi@theqtcompany.com>2015-11-19 17:49:45 +0000
commit6ca831b18f361924cab39b65d1a1e8b31e60b3fc (patch)
tree37fce3bddfc8f48fa3ba503174fdcb8c4df5a359 /src/imports/controls/TabButton.qml
parentf507472c306f13f4cc965ffd9f56f8e436b0e04b (diff)
Adjust default style to match current specs.
There are still more changes to come. Change-Id: I94ed2c5d649d72d90e43120841c2457091200b59 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
Diffstat (limited to 'src/imports/controls/TabButton.qml')
-rw-r--r--src/imports/controls/TabButton.qml5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/imports/controls/TabButton.qml b/src/imports/controls/TabButton.qml
index 33e0911f..fc95b8a8 100644
--- a/src/imports/controls/TabButton.qml
+++ b/src/imports/controls/TabButton.qml
@@ -35,7 +35,6 @@
****************************************************************************/
import QtQuick 2.6
-import Qt.labs.controls 1.0
import Qt.labs.templates 1.0 as T
T.TabButton {
@@ -60,7 +59,7 @@ T.TabButton {
text: control.text
font: control.font
elide: Text.ElideRight
- color: !control.enabled ? control.Theme.disabledColor : control.pressed ? control.Theme.accentColor : control.Theme.textColor
+ color: !control.enabled ? "#bdbebf" : control.pressed ? "#000000" : "#353637"
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
}
@@ -70,7 +69,7 @@ T.TabButton {
background: Rectangle {
height: parent.height - 1
implicitHeight: 26
- color: control.Theme.backgroundColor
+ color: "#ffffff"
}
//! [background]
}