From 2cf46e303c50516c836918b7c707b3ed0a184ae2 Mon Sep 17 00:00:00 2001 From: Mitch Curtis Date: Mon, 9 Nov 2015 17:25:58 +0100 Subject: 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 --- tests/manual/testbench/main.qml | 30 ++++++++++++++---------------- 1 file changed, 14 insertions(+), 16 deletions(-) (limited to 'tests') 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 @@ -114,22 +128,6 @@ ApplicationWindow { } } - RowLayout { - TabBar { - TabButton { - text: "Normal" - } - TabButton { - text: "Pressed" - pressed: true - } - TabButton { - text: "Disabled" - enabled: false - } - } - } - RowLayout { CheckBox { text: "Normal" -- cgit v1.2.3