diff options
author | Sébastien Dailly <sebastien@chimrod.com> | 2014-08-26 20:23:53 +0200 |
---|---|---|
committer | Sébastien Dailly <sebastien@chimrod.com> | 2014-08-26 20:23:53 +0200 |
commit | 53a259965bef27e9fdd4a43c6a7ebcef10087aad (patch) | |
tree | 6107941e3c050bd7a22c6fa255dfb40457e7b515 /qml/pages/Board.qml | |
parent | cecbf060661a3cf47e876f8dec0207e0f082c3d4 (diff) |
Code reformating + corrections
Diffstat (limited to 'qml/pages/Board.qml')
-rw-r--r-- | qml/pages/Board.qml | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/qml/pages/Board.qml b/qml/pages/Board.qml index 27b1974..27fc319 100644 --- a/qml/pages/Board.qml +++ b/qml/pages/Board.qml @@ -23,13 +23,20 @@ Page { width: parent.width; IconButton { - width: parent.width / 2; + width: (parent.width - parent.height) / 2; icon.source: "image://theme/icon-m-back" onClicked: console.log("Previous!") } + Image { + width: parent.height; + source: "../content/gfx/" + (goban.currentPlayer ? "white":"black") + ".png" + height: parent.height; + scale: 0.5 + } + IconButton { - width: parent.width / 2; + width: (parent.width - parent.height) / 2; icon.source: "image://theme/icon-m-refresh" onClicked: goban.start() } |