summaryrefslogtreecommitdiffstats
path: root/examples/bluetooth/lowenergyscanner/assets/Menu.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/bluetooth/lowenergyscanner/assets/Menu.qml')
-rw-r--r--examples/bluetooth/lowenergyscanner/assets/Menu.qml6
1 files changed, 4 insertions, 2 deletions
diff --git a/examples/bluetooth/lowenergyscanner/assets/Menu.qml b/examples/bluetooth/lowenergyscanner/assets/Menu.qml
index ee608664..796c27be 100644
--- a/examples/bluetooth/lowenergyscanner/assets/Menu.qml
+++ b/examples/bluetooth/lowenergyscanner/assets/Menu.qml
@@ -60,8 +60,11 @@ Rectangle {
radius: 10
Text {
id: searchText
- anchors.centerIn: parent
+ horizontalAlignment: Text.AlignHCenter
+ verticalAlignment: Text.AlignVCenter
+ anchors.fill: parent
text: menuText
+ elide: Text.ElideMiddle
color: "#E3E3E3"
}
@@ -78,7 +81,6 @@ Rectangle {
}
onClicked: {
- ColorAnimation: { to: "#4D4C4C"; duration: 200 }
buttonClick()
}
}