summaryrefslogtreecommitdiff
path: root/src/controls/ApplicationWindow.qml
diff options
context:
space:
mode:
authorJosh Faust <jfaust@suitabletech.com>2013-06-06 19:09:19 -0700
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-06-08 08:59:17 +0200
commit1125a07c68b9727899f4a1fc54277ea02a79c39e (patch)
treedb0e3ededae553d4bcbe0415e59b0384a0b33e6f /src/controls/ApplicationWindow.qml
parent54291e1a96064128fd1576b56e3fdf51856ab6f1 (diff)
downloadqtquickcontrols-1125a07c68b9727899f4a1fc54277ea02a79c39e.tar.gz
Fix draw order of contents vs. toolbar in ApplicationWindow
Task-number: QTBUG-31207 Change-Id: I8843988d0e2dfe505aae374325c23caf0736d05b Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Diffstat (limited to 'src/controls/ApplicationWindow.qml')
-rw-r--r--src/controls/ApplicationWindow.qml12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/controls/ApplicationWindow.qml b/src/controls/ApplicationWindow.qml
index 602661a3..364b2b11 100644
--- a/src/controls/ApplicationWindow.qml
+++ b/src/controls/ApplicationWindow.qml
@@ -134,19 +134,19 @@ Window {
anchors.fill: parent
Item {
- id: toolBarArea
- anchors.top: parent.top
+ id: contentArea
+ anchors.top: toolBarArea.bottom
anchors.left: parent.left
anchors.right: parent.right
- height: childrenRect.height
+ anchors.bottom: statusBarArea.top
}
Item {
- id: contentArea
- anchors.top: toolBarArea.bottom
+ id: toolBarArea
+ anchors.top: parent.top
anchors.left: parent.left
anchors.right: parent.right
- anchors.bottom: statusBarArea.top
+ height: childrenRect.height
}
Item {