diff options
author | Sébastien Dailly <sebastien@chimrod.com> | 2014-08-25 22:24:47 +0200 |
---|---|---|
committer | Sébastien Dailly <sebastien@chimrod.com> | 2014-08-25 22:24:47 +0200 |
commit | cecbf060661a3cf47e876f8dec0207e0f082c3d4 (patch) | |
tree | b925908f4dd96a3cd6d861f0c3e0d406d05ff6cc /qml/pages/Board.qml | |
parent | 5a8c5c5bbdafc08a3e42e12ca81789c8a96126e4 (diff) |
Added icons :
- restart level
Added transitions
Diffstat (limited to 'qml/pages/Board.qml')
-rw-r--r-- | qml/pages/Board.qml | 39 |
1 files changed, 21 insertions, 18 deletions
diff --git a/qml/pages/Board.qml b/qml/pages/Board.qml index 37a0e89..27b1974 100644 --- a/qml/pages/Board.qml +++ b/qml/pages/Board.qml @@ -2,7 +2,6 @@ import QtQuick 2.0 import Sailfish.Silica 1.0 - import io.thp.pyotherside 1.2 @@ -16,25 +15,25 @@ Page { Column { - width:parent.width - height: parent.height + anchors.fill: parent; + spacing: 25 - spacing: 2 -// Row { + Row { -// height: 60 + width: parent.width; -// //anchors.horizontalCenter: parent.horizontalCenter -// Repeater { -// model: 3 -// Rectangle { -// width: 100; height: 40 -// border.width: 1 -// color: "yellow" -// } -// } -// } + IconButton { + width: parent.width / 2; + icon.source: "image://theme/icon-m-back" + onClicked: console.log("Previous!") + } + IconButton { + width: parent.width / 2; + icon.source: "image://theme/icon-m-refresh" + onClicked: goban.start() + } + } Goban { id:goban @@ -54,10 +53,14 @@ Page { delegate: Text { horizontalAlignment: Text.AlignHCenter verticalAlignment: Text.AlignVCenter + + color: Theme.primaryColor + font.family: Theme.fontFamily + font.pixelSize: Theme.fontSizeMedium + width: view.itemWidth height: view.height - text: "Level " + index - color: "white" + text: "Problem " + index } } |