diff options
-rw-r--r-- | examples/bluetooth/pingpong/assets/Menu.qml | 3 | ||||
-rw-r--r-- | examples/bluetooth/pingpong/assets/main.qml | 5 |
2 files changed, 4 insertions, 4 deletions
diff --git a/examples/bluetooth/pingpong/assets/Menu.qml b/examples/bluetooth/pingpong/assets/Menu.qml index 019718cf..60a9a164 100644 --- a/examples/bluetooth/pingpong/assets/Menu.qml +++ b/examples/bluetooth/pingpong/assets/Menu.qml @@ -51,8 +51,7 @@ import QtQuick 2.0 Rectangle { - width: 600 - height: 300 + anchors.fill: parent Rectangle { diff --git a/examples/bluetooth/pingpong/assets/main.qml b/examples/bluetooth/pingpong/assets/main.qml index 10e477df..1c7ae769 100644 --- a/examples/bluetooth/pingpong/assets/main.qml +++ b/examples/bluetooth/pingpong/assets/main.qml @@ -48,13 +48,14 @@ ** ****************************************************************************/ -import QtQuick 2.0 +import QtQuick 2.1 import QtQuick.Window 2.1 Window { id: menulist width: 600 - height: 300 + height: 600 + visibility: (Qt.platform.os === "android" || Qt.platform.os === "ios") ? Window.FullScreen : Window.Windowed visible: true Dialog { |