diff options
author | Alex Blasche <alexander.blasche@qt.io> | 2017-06-22 16:38:06 +0200 |
---|---|---|
committer | Alex Blasche <alexander.blasche@qt.io> | 2017-06-28 07:05:44 +0000 |
commit | 9fcdb6bc25ee55bd0900b35734c58c9313f5b974 (patch) | |
tree | b27e7eb3a16f0d45f2751188ec718a0acb41745f /examples/bluetooth/pingpong/assets/Dialog.qml | |
parent | 0b475c565843e6c0901558d6342a02722d57acbc (diff) |
Improve pingpong example
The following adjustments were done:
- Use new Qt connect syntax
- Add QLoggingCatergory enablers (easy to enable by uncommenting)
- Makes the UI more robust to High vs Low DPI issues
Change-Id: Iad99a67ac375de828883b4add99d440f7a6994c6
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'examples/bluetooth/pingpong/assets/Dialog.qml')
-rw-r--r-- | examples/bluetooth/pingpong/assets/Dialog.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/bluetooth/pingpong/assets/Dialog.qml b/examples/bluetooth/pingpong/assets/Dialog.qml index 2a332715..53be3eaa 100644 --- a/examples/bluetooth/pingpong/assets/Dialog.qml +++ b/examples/bluetooth/pingpong/assets/Dialog.qml @@ -42,7 +42,7 @@ import QtQuick 2.0 Rectangle { width: parent.width/2 - height: 100 + height: message.implicitHeight*2 z: 50 border.width: 2 border.color: "#363636" |