summaryrefslogtreecommitdiff
path: root/modules/controlcenter/components/DeviceList.qml
diff options
context:
space:
mode:
authorATMDA <atdma2600@gmail.com>2025-11-19 21:15:40 -0500
committerATMDA <atdma2600@gmail.com>2025-11-19 21:15:40 -0500
commit147410e39bf4e0474deca3980dcaa724464cf5c3 (patch)
tree161d19ded2f40caf4021e156bee3b889df8553de /modules/controlcenter/components/DeviceList.qml
parentcleanup: removed comments (diff)
downloadcaelestia-shell-147410e39bf4e0474deca3980dcaa724464cf5c3.tar.gz
caelestia-shell-147410e39bf4e0474deca3980dcaa724464cf5c3.tar.bz2
caelestia-shell-147410e39bf4e0474deca3980dcaa724464cf5c3.zip
cleanup: removed unnecessary comments
Diffstat (limited to 'modules/controlcenter/components/DeviceList.qml')
-rw-r--r--modules/controlcenter/components/DeviceList.qml10
1 files changed, 2 insertions, 8 deletions
diff --git a/modules/controlcenter/components/DeviceList.qml b/modules/controlcenter/components/DeviceList.qml
index a6821d8..75dd913 100644
--- a/modules/controlcenter/components/DeviceList.qml
+++ b/modules/controlcenter/components/DeviceList.qml
@@ -28,7 +28,6 @@ ColumnLayout {
spacing: Appearance.spacing.small
- // Header with action buttons (optional)
Loader {
id: headerLoader
@@ -37,7 +36,6 @@ ColumnLayout {
visible: root.headerComponent !== null && root.showHeader
}
- // Title and description row
RowLayout {
Layout.fillWidth: true
Layout.topMargin: root.headerComponent ? 0 : 0
@@ -61,10 +59,8 @@ ColumnLayout {
}
}
- // Expose view for access from parent components
property alias view: view
- // Description text
StyledText {
visible: root.description !== ""
Layout.fillWidth: true
@@ -72,20 +68,18 @@ ColumnLayout {
color: Colours.palette.m3outline
}
- // List view
StyledListView {
id: view
Layout.fillWidth: true
- // Use contentHeight to show all items without estimation
implicitHeight: contentHeight
model: root.model
delegate: root.delegate
spacing: Appearance.spacing.small / 2
- interactive: false // Disable individual scrolling - parent pane handles it
- clip: false // Don't clip - let parent handle scrolling
+ interactive: false
+ clip: false
}
}