From 53a259965bef27e9fdd4a43c6a7ebcef10087aad Mon Sep 17 00:00:00 2001 From: Sébastien Dailly Date: Tue, 26 Aug 2014 20:23:53 +0200 Subject: Code reformating + corrections --- qml/pages/Board.qml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'qml/pages/Board.qml') 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() } -- cgit v1.2.3