From ff0376067575ef61c39d5ee61745e43c315dd488 Mon Sep 17 00:00:00 2001 From: ATMDA Date: Sun, 16 Nov 2025 23:26:31 -0500 Subject: controlcenter: correcting containers (bluetooth pane) --- modules/controlcenter/bluetooth/Details.qml | 34 ++++++++++++++++------------- 1 file changed, 19 insertions(+), 15 deletions(-) (limited to 'modules/controlcenter/bluetooth/Details.qml') diff --git a/modules/controlcenter/bluetooth/Details.qml b/modules/controlcenter/bluetooth/Details.qml index 445f568..7ac5286 100644 --- a/modules/controlcenter/bluetooth/Details.qml +++ b/modules/controlcenter/bluetooth/Details.qml @@ -12,25 +12,29 @@ import Quickshell.Bluetooth import QtQuick import QtQuick.Layouts -Item { +StyledFlickable { id: root required property Session session readonly property BluetoothDevice device: session.bt.active - StyledFlickable { - anchors.fill: parent + anchors.fill: parent - flickableDirection: Flickable.VerticalFlick - clip: true - contentHeight: layout.height + flickableDirection: Flickable.VerticalFlick + contentHeight: layoutWrapper.height - ColumnLayout { - id: layout + Item { + id: layoutWrapper anchors.left: parent.left anchors.right: parent.right - spacing: Appearance.spacing.normal + implicitHeight: layout.height + + ColumnLayout { + id: layout + + anchors.fill: parent + spacing: Appearance.spacing.normal MaterialIcon { Layout.alignment: Qt.AlignHCenter @@ -416,8 +420,8 @@ Item { } } } + } } - } ColumnLayout { anchors.right: fabRoot.right @@ -563,11 +567,11 @@ Item { Item { id: fabRoot - anchors.right: parent.right - anchors.bottom: parent.bottom - - implicitWidth: 64 - implicitHeight: 64 + x: root.contentX + root.width - width + y: root.contentY + root.height - height + width: 64 + height: 64 + z: 10000 StyledRect { id: fabBg -- cgit v1.2.3-freya