Shows the logo image too
authorHeli Hyvättinen <heli.hyvattinen@kymp.net>
Fri, 5 Aug 2011 20:56:02 +0000 (23:56 +0300)
committerHeli Hyvättinen <heli.hyvattinen@kymp.net>
Fri, 5 Aug 2011 20:56:02 +0000 (23:56 +0300)
qml/MainPage.qml

index fdae146..ef11a4c 100644 (file)
@@ -20,6 +20,15 @@ Page {
 //        onClicked: newGameDialog.open()
 //    }
 
+    Image
+    {
+        id: bigLogo
+//        anchors.fill: parent
+//        anchors.left: menuList.right
+
+        source: ":/rc/pic/logo.png"
+    }
+
     ListModel
     {
         id: menuModel
@@ -65,7 +74,12 @@ Page {
     ListView
     {
         id: menuList
-        anchors.fill: parent
+
+        anchors.left: bigLogo.right
+        anchors.right: parent.right
+        anchors.top: parent.top
+        anchors.bottom: parent.bottom
+
 
          model: menuModel
 
@@ -84,15 +98,7 @@ Page {
 
     }
 
-//    Image {
-//        id: image1
-//        anchors.centerIn: parent
-//        x: 0
-//        y: 0
-//        width: 100
-//        height: 100
-//        source: ":/pic/logo.png"
-//    }
+