Files
DankMaterialShell/quickshell/Modules/Settings/Widgets/SettingsPage.qml
T
purian23 76025038df feat(density): interface density setting for shell surfaces
- density setting (spacious, comfortable, compact, dense)
- bar, dock, island and frame sizes follow density presets and keep values the user changed
- launcher no longer rebuilds every frame while the action panel animates
- cc toggle rows match the single-height list rows
- ipc settings set runs change hooks and rejects unknown keys and density values
- state layer focus and pressed follow the library's m3 values
- bump dux-qml-common for density menu and file browser metrics
2026-10-27 20:46:01 -04:00

32 lines
1.0 KiB
QML

import QtQuick
import qs.Common
import qs.DCommon.Widgets
DFlickable {
id: root
default property alias content: column.data
property alias spacing: column.spacing
property alias columnWidth: column.width
property real contentMaxWidth: SettingsMetrics.contentMaxWidth
property Item fabBar: null
anchors.fill: parent
anchors.leftMargin: -SettingsMetrics.focusGutter
anchors.rightMargin: -SettingsMetrics.focusGutter
anchors.topMargin: -SettingsMetrics.focusGutter
clip: true
contentHeight: column.height + Theme.spacingXL
contentWidth: width
fadeSideInset: (width - column.width) / 2
Column {
id: column
topPadding: Theme.spacingXS + SettingsMetrics.focusGutter
width: Math.min(root.contentMaxWidth, parent.width - SettingsMetrics.focusGutter * 2)
bottomPadding: SettingsMetrics.pagePaddingV + (root.fabBar?.reservedHeight ?? 0)
anchors.horizontalCenter: parent.horizontalCenter
spacing: SettingsMetrics.cardGap
}
}