summaryrefslogtreecommitdiffstats
path: root/examples/bluetooth/scanner/Button.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/bluetooth/scanner/Button.qml')
-rw-r--r--examples/bluetooth/scanner/Button.qml8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/bluetooth/scanner/Button.qml b/examples/bluetooth/scanner/Button.qml
index a3debfca..17fb38b5 100644
--- a/examples/bluetooth/scanner/Button.qml
+++ b/examples/bluetooth/scanner/Button.qml
@@ -48,9 +48,7 @@ Rectangle {
property alias text: label.text
signal clicked()
-
- height: 60
- width: 105
+ height: label.height*1.1
color: active ? "#1c56f3" : "white"
@@ -61,9 +59,11 @@ Rectangle {
id: label
text: "Full Discovery"
font.bold: true
- anchors.fill: parent
+ font.pointSize: 17
+ width: parent.width
wrapMode: Text.WordWrap
horizontalAlignment: Text.AlignHCenter
+ anchors.centerIn: parent
}
MouseArea {