controlcenter: correcting containers (bluetooth pane)

This commit is contained in:
ATMDA 2025-11-16 23:26:31 -05:00
parent 9f8f8ac731
commit ff03760675

View file

@ -12,24 +12,28 @@ import Quickshell.Bluetooth
import QtQuick import QtQuick
import QtQuick.Layouts import QtQuick.Layouts
Item { StyledFlickable {
id: root id: root
required property Session session required property Session session
readonly property BluetoothDevice device: session.bt.active readonly property BluetoothDevice device: session.bt.active
StyledFlickable {
anchors.fill: parent anchors.fill: parent
flickableDirection: Flickable.VerticalFlick flickableDirection: Flickable.VerticalFlick
clip: true contentHeight: layoutWrapper.height
contentHeight: layout.height
Item {
id: layoutWrapper
anchors.left: parent.left
anchors.right: parent.right
implicitHeight: layout.height
ColumnLayout { ColumnLayout {
id: layout id: layout
anchors.left: parent.left anchors.fill: parent
anchors.right: parent.right
spacing: Appearance.spacing.normal spacing: Appearance.spacing.normal
MaterialIcon { MaterialIcon {
@ -563,11 +567,11 @@ Item {
Item { Item {
id: fabRoot id: fabRoot
anchors.right: parent.right x: root.contentX + root.width - width
anchors.bottom: parent.bottom y: root.contentY + root.height - height
width: 64
implicitWidth: 64 height: 64
implicitHeight: 64 z: 10000
StyledRect { StyledRect {
id: fabBg id: fabBg