summaryrefslogtreecommitdiffstats
path: root/basicsuite/Controls Touch/content/TabBarPage.qml
diff options
context:
space:
mode:
Diffstat (limited to 'basicsuite/Controls Touch/content/TabBarPage.qml')
-rw-r--r--basicsuite/Controls Touch/content/TabBarPage.qml7
1 files changed, 4 insertions, 3 deletions
diff --git a/basicsuite/Controls Touch/content/TabBarPage.qml b/basicsuite/Controls Touch/content/TabBarPage.qml
index 41de782..7651a3c 100644
--- a/basicsuite/Controls Touch/content/TabBarPage.qml
+++ b/basicsuite/Controls Touch/content/TabBarPage.qml
@@ -70,7 +70,8 @@ Item {
Component {
id: touchStyle
TabViewStyle {
- tabBarAlignment: "center"
+ tabsAlignment: Qt.AlignVCenter
+ tabOverlap: 0
frame: Item { }
tab: Item {
implicitWidth: control.width/control.count
@@ -79,11 +80,11 @@ Item {
anchors.fill: parent
border.bottom: 8
border.top: 8
- source: tab.selected ? "../images/tab_selected.png":"../images/tabs_standard.png"
+ source: styleData.selected ? "../images/tab_selected.png":"../images/tabs_standard.png"
Text {
anchors.centerIn: parent
color: "white"
- text: tab.title.toUpperCase()
+ text: styleData.title.toUpperCase()
font.pixelSize: 16
}
Rectangle {