From 55c4b759e6205fea60929c0c5b2e9ebf0b418408 Mon Sep 17 00:00:00 2001 From: Qiaoyong Zhong Date: Thu, 17 Apr 2014 19:33:33 +0800 Subject: [PATCH] handle window resize --- qml/main.qml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/qml/main.qml b/qml/main.qml index feaa289..b162236 100644 --- a/qml/main.qml +++ b/qml/main.qml @@ -28,8 +28,9 @@ ApplicationWindow { color: helper.myColors.bglight Item { - anchors.fill: parent - anchors.margins: 30 + width: 500 + height: 670 + anchors.centerIn: parent focus: true Keys.onPressed: MyScript.moveKey(event)