From 9d22aa7aa14a200d8c1fc0f1b4b1ead540e45e67 Mon Sep 17 00:00:00 2001 From: Martin Jones Date: Fri, 16 Oct 2009 17:28:15 +1000 Subject: More loader improvement. --- examples/declarative/loader/Browser.qml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/examples/declarative/loader/Browser.qml b/examples/declarative/loader/Browser.qml index 15e7b12..18dc206 100644 --- a/examples/declarative/loader/Browser.qml +++ b/examples/declarative/loader/Browser.qml @@ -146,9 +146,8 @@ Rectangle { id: view2 anchors.top: titleBar.bottom anchors.bottom: parent.bottom - x: parent.right + x: parent.width width: parent.width -// state: "exitRight" model: folders2 delegate: folderDelegate highlight: Rectangle { color: palette.highlight; visible: root.keyPressed } @@ -199,9 +198,9 @@ Rectangle { Rectangle { id: upButton - width: 48 - height: titleBar.height - border.color: palette.mid; color: "transparent" + width: 40 + height: titleBar.height - 7 + color: "transparent" Image { anchors.centerIn: parent; source: "images/up.png" } MouseRegion { id: upRegion; anchors.fill: parent @@ -215,6 +214,12 @@ Rectangle { } ] } + Rectangle { + color: "gray" + x: 40 + width: 1 + height: 40 + } Text { anchors.left: upButton.right; anchors.right: parent.right; height: parent.height -- cgit v0.12