diff options
author | J-P Nurmi <jpnurmi@theqtcompany.com> | 2015-03-06 11:52:10 +0100 |
---|---|---|
committer | Jari-Pekka Nurmi <jpnurmi@theqtcompany.com> | 2015-03-11 01:06:44 +0200 |
commit | a3921bcf01275425350c9c153fe92086a34d1403 (patch) | |
tree | 1c5c4dd36e9d19a36281bde723c7bf989bc70298 /src/imports/controls/TabBar.qml | |
parent | e9398b7465c7df38876d0c6528ea5c42bbd8bf6a (diff) |
Implement Style as an attached property
Change-Id: I006ee566647e31d1a14919d164d7dd68539aae10
Reviewed-by: Jari-Pekka Nurmi <jpnurmi@theqtcompany.com>
Diffstat (limited to 'src/imports/controls/TabBar.qml')
-rw-r--r-- | src/imports/controls/TabBar.qml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/imports/controls/TabBar.qml b/src/imports/controls/TabBar.qml index 4748647d..6d833485 100644 --- a/src/imports/controls/TabBar.qml +++ b/src/imports/controls/TabBar.qml @@ -98,7 +98,7 @@ AbstractTabBar { height: 4 width: parent.width y: parent.height - height - color: style.accentColor + color: control.Style.accentColor } } } @@ -107,14 +107,14 @@ AbstractTabBar { implicitWidth: 26 implicitHeight: 26 width: listView.width - border.color: style.backgroundColor + border.color: control.Style.backgroundColor border.width: 8 - color: listView.count > 1 ? style.frameColor : style.backgroundColor + color: listView.count > 1 ? control.Style.frameColor : control.Style.backgroundColor Rectangle { y: parent.height - height width: parent.width height: 1 - color: style.frameColor + color: control.Style.frameColor } } } |