From 942b17957293117ee5c63894640c2a2b48545100 Mon Sep 17 00:00:00 2001 From: voidarc Date: Fri, 7 Aug 2026 18:25:37 +0100 Subject: [PATCH] added closed state to stop weird sizing behavior --- Bar/Bluetooth.qml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Bar/Bluetooth.qml b/Bar/Bluetooth.qml index b89d6a1..2c341e0 100644 --- a/Bar/Bluetooth.qml +++ b/Bar/Bluetooth.qml @@ -26,6 +26,16 @@ Container { forceHidden: !(BluetoothManager.getConnected()) states: [ + State { + name: "closed" + when: root.hovered == false && root.opened == false + + PropertyChanges { + root.boxHeight: 25 + root.boxRadius: 9 + root.boxWidth: 33 + } + }, State { name: "hovered" when: root.hovered == true && root.opened == false