summaryrefslogtreecommitdiff
path: root/modules/controlcenter/bluetooth/BtPane.qml
diff options
context:
space:
mode:
authorATMDA <atdma2600@gmail.com>2025-11-15 16:44:11 -0500
committerATMDA <atdma2600@gmail.com>2025-11-15 16:44:11 -0500
commitb0006f2f1146c14f4a8d719d6a268ffce1fed0de (patch)
tree7884faa651b3ffd0437011e1b195592714ec73da /modules/controlcenter/bluetooth/BtPane.qml
parentcontrolcenter: appearance pane corrections to fp/int values such as scales an... (diff)
downloadcaelestia-shell-b0006f2f1146c14f4a8d719d6a268ffce1fed0de.tar.gz
caelestia-shell-b0006f2f1146c14f4a8d719d6a268ffce1fed0de.tar.bz2
caelestia-shell-b0006f2f1146c14f4a8d719d6a268ffce1fed0de.zip
controlcenter: corrected all panels edge-to-edge containers
Diffstat (limited to 'modules/controlcenter/bluetooth/BtPane.qml')
-rw-r--r--modules/controlcenter/bluetooth/BtPane.qml37
1 files changed, 32 insertions, 5 deletions
diff --git a/modules/controlcenter/bluetooth/BtPane.qml b/modules/controlcenter/bluetooth/BtPane.qml
index 96dc002..32d2c0d 100644
--- a/modules/controlcenter/bluetooth/BtPane.qml
+++ b/modules/controlcenter/bluetooth/BtPane.qml
@@ -19,30 +19,57 @@ RowLayout {
spacing: 0
Item {
+ id: leftBtItem
Layout.preferredWidth: Math.floor(parent.width * 0.4)
Layout.minimumWidth: 420
Layout.fillHeight: true
- DeviceList {
+ ClippingRectangle {
+ id: leftBtClippingRect
anchors.fill: parent
- anchors.margins: Appearance.padding.large + Appearance.padding.normal
- anchors.leftMargin: Appearance.padding.large
- anchors.rightMargin: Appearance.padding.large + Appearance.padding.normal / 2
+ anchors.margins: Appearance.padding.normal
+ anchors.leftMargin: 0
+ anchors.rightMargin: Appearance.padding.normal / 2
+
+ radius: leftBtBorder.innerRadius
+ color: "transparent"
+
+ Loader {
+ id: leftBtLoader
+
+ anchors.fill: parent
+ anchors.margins: Appearance.padding.large + Appearance.padding.normal
+ anchors.leftMargin: Appearance.padding.large
+ anchors.rightMargin: Appearance.padding.large + Appearance.padding.normal / 2
- session: root.session
+ asynchronous: true
+ sourceComponent: btDeviceListComponent
+ }
}
InnerBorder {
+ id: leftBtBorder
leftThickness: 0
rightThickness: Appearance.padding.normal / 2
}
+
+ Component {
+ id: btDeviceListComponent
+
+ DeviceList {
+ anchors.fill: parent
+ session: root.session
+ }
+ }
}
Item {
+ id: rightBtItem
Layout.fillWidth: true
Layout.fillHeight: true
ClippingRectangle {
+ id: btClippingRect
anchors.fill: parent
anchors.margins: Appearance.padding.normal
anchors.leftMargin: 0