diff options
author | Andreas Buhr <andreas@andreasbuhr.de> | 2021-03-02 15:19:09 +0100 |
---|---|---|
committer | Andreas Buhr <andreas@andreasbuhr.de> | 2021-03-03 11:15:42 +0100 |
commit | dd6c8227636747b4568cd67ec7aed06d0a1a6216 (patch) | |
tree | fa9fa7bd55abc248cd11c4e7f09f0af0452218df /examples/bluetooth/pingpong/assets/Menu.qml | |
parent | 2988f97b5c3303fb890ae1b2e7fc5a2ee87a82eb (diff) |
Pingpong example: User 600x600 window by default, fullscreen on mobile
With this patch, the pingpong example no longer forces the
use of a 600x300 window on mobile devices, which led to a suboptimal
user experience.
Change-Id: I2365542bc8d5f99d015499f9b7e8c14ec5a93237
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'examples/bluetooth/pingpong/assets/Menu.qml')
-rw-r--r-- | examples/bluetooth/pingpong/assets/Menu.qml | 3 |
1 files changed, 1 insertions, 2 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 { |