diff options
Diffstat (limited to 'QtDemo/qml/QtDemo/demos/touchgallery')
-rw-r--r-- | QtDemo/qml/QtDemo/demos/touchgallery/content/TabBarPage.qml | 4 | ||||
-rw-r--r-- | QtDemo/qml/QtDemo/demos/touchgallery/main.qml | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/QtDemo/qml/QtDemo/demos/touchgallery/content/TabBarPage.qml b/QtDemo/qml/QtDemo/demos/touchgallery/content/TabBarPage.qml index c96314b..7651a3c 100644 --- a/QtDemo/qml/QtDemo/demos/touchgallery/content/TabBarPage.qml +++ b/QtDemo/qml/QtDemo/demos/touchgallery/content/TabBarPage.qml @@ -80,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 { diff --git a/QtDemo/qml/QtDemo/demos/touchgallery/main.qml b/QtDemo/qml/QtDemo/demos/touchgallery/main.qml index 95d737b..ad8fbef 100644 --- a/QtDemo/qml/QtDemo/demos/touchgallery/main.qml +++ b/QtDemo/qml/QtDemo/demos/touchgallery/main.qml @@ -81,7 +81,7 @@ CustomAppWindow { } Text { - font.pixelSize: app.height*.07 + font.pixelSize: app.height*.06 Behavior on x { NumberAnimation{ easing.type: Easing.OutCubic} } x: backButton.x + backButton.width + 20 anchors.verticalCenter: parent.verticalCenter |