diff options
author | Mitch Curtis <mitch.curtis@theqtcompany.com> | 2015-11-09 17:25:58 +0100 |
---|---|---|
committer | J-P Nurmi <jpnurmi@theqtcompany.com> | 2015-11-12 06:56:40 +0000 |
commit | 2cf46e303c50516c836918b7c707b3ed0a184ae2 (patch) | |
tree | 78def010da3d0a13a7d6dea9aa93a903dc0d3cfe /tests | |
parent | cb8a5960400824fdec961a5ced419e75547c8e96 (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.qml | 30 |
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" } |