summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2009-10-16 07:28:15 (GMT)
committerMartin Jones <martin.jones@nokia.com>2009-10-16 07:28:15 (GMT)
commit9d22aa7aa14a200d8c1fc0f1b4b1ead540e45e67 (patch)
tree31972df0fc9f29956ca8c7a360b8126283575031
parentecec0bc96d63d7451575191c5cb009a0c254c47b (diff)
downloadQt-9d22aa7aa14a200d8c1fc0f1b4b1ead540e45e67.zip
Qt-9d22aa7aa14a200d8c1fc0f1b4b1ead540e45e67.tar.gz
Qt-9d22aa7aa14a200d8c1fc0f1b4b1ead540e45e67.tar.bz2
More loader improvement.
-rw-r--r--examples/declarative/loader/Browser.qml15
1 files 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