summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/bluetooth/Bluetooth.qml9
1 files changed, 8 insertions, 1 deletions
diff --git a/app/bluetooth/Bluetooth.qml b/app/bluetooth/Bluetooth.qml
index 7d0778a..04c9284 100644
--- a/app/bluetooth/Bluetooth.qml
+++ b/app/bluetooth/Bluetooth.qml
@@ -265,9 +265,16 @@ SettingPage {
Column {
anchors.left: parent.left
anchors.leftMargin: 80
+ TextMetrics {
+ id: textMetrics
+ font.family: "Arial"
+ elide: Text.ElideRight
+ elideWidth: 140
+ text: deviceName
+ }
Text {
id: btName
- text: deviceName
+ text: textMetrics.elidedText
color: '#66FF99'
font.pixelSize: 48
}