summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis Dzyubenko <denis.dzyubenko@nokia.com>2010-08-20 12:34:39 +0200
committerDenis Dzyubenko <denis.dzyubenko@nokia.com>2010-08-20 12:34:39 +0200
commitbc37b87e99dfe35063cc71a8aa015dd607b98eeb (patch)
treed5bcfb81cf0e988c93b05e98477e4911561312c1
parent76f4a54ca695f4a44ccdb4fefa6b44a7fa59d6d1 (diff)
Fixed a few warnings in the dashboard demo
-rw-r--r--multilayer-dashboard/ColumnTwo.qml6
-rwxr-xr-xmultilayer-dashboard/MainWidget.qml2
2 files changed, 5 insertions, 3 deletions
diff --git a/multilayer-dashboard/ColumnTwo.qml b/multilayer-dashboard/ColumnTwo.qml
index 6ac4815..4c62db5 100644
--- a/multilayer-dashboard/ColumnTwo.qml
+++ b/multilayer-dashboard/ColumnTwo.qml
@@ -45,7 +45,7 @@ Item {
id: myRow
width: 300
- height: 340
+ height: parent.height
property variant reparentWidget: myRow
property variant topLevel: myRow
@@ -86,8 +86,8 @@ Item {
}
BorderImage {
id: backButton
- anchors.right: parent.top
- anchors.bottom: parent.left
+ anchors.top: parent.top
+ anchors.left: parent.left
visible: false
opacity: 1
source: "images/button.png"
diff --git a/multilayer-dashboard/MainWidget.qml b/multilayer-dashboard/MainWidget.qml
index f6e8ecb..373aabf 100755
--- a/multilayer-dashboard/MainWidget.qml
+++ b/multilayer-dashboard/MainWidget.qml
@@ -56,6 +56,8 @@ Rectangle {
Item{
id: rowWidgetContainer
y:32
+ width: 300
+ height: parent.height - y
Item { // Just for spacing
id:leftMargin