aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@theqtcompany.com>2015-11-09 17:25:58 +0100
committerJ-P Nurmi <jpnurmi@theqtcompany.com>2015-11-12 06:56:40 +0000
commit2cf46e303c50516c836918b7c707b3ed0a184ae2 (patch)
tree78def010da3d0a13a7d6dea9aa93a903dc0d3cfe /tests
parentcb8a5960400824fdec961a5ced419e75547c8e96 (diff)
testbench: move TabBar to footer
This is a more typical use of TabBar, and gives it the room it needs for styles where the text is larger. Change-Id: I302a690dd23a69c4b919ebc9996cfaa641ea1b01 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/manual/testbench/main.qml30
1 files changed, 14 insertions, 16 deletions
diff --git a/tests/manual/testbench/main.qml b/tests/manual/testbench/main.qml
index 711c6e08..83fadc16 100644
--- a/tests/manual/testbench/main.qml
+++ b/tests/manual/testbench/main.qml
@@ -88,6 +88,20 @@ ApplicationWindow {
}
}
+ footer: TabBar {
+ TabButton {
+ text: "Normal"
+ }
+ TabButton {
+ text: "Pressed"
+ pressed: true
+ }
+ TabButton {
+ text: "Disabled"
+ enabled: false
+ }
+ }
+
Flickable {
anchors.fill: parent
flickableDirection: Flickable.VerticalFlick
@@ -115,22 +129,6 @@ ApplicationWindow {
}
RowLayout {
- TabBar {
- TabButton {
- text: "Normal"
- }
- TabButton {
- text: "Pressed"
- pressed: true
- }
- TabButton {
- text: "Disabled"
- enabled: false
- }
- }
- }
-
- RowLayout {
CheckBox {
text: "Normal"
}