settings: some changes ref #3635

cc: add trash icon to drag and crush things
cc: allow anchoring footer items to start or end
This commit is contained in:
bbedward committed 2026-09-30 16:00:48 -04:00
1 parent 9e7f35de0c
commit 3bbf02f502
6 files changed
+261 -63

No files matched your search

@@ -27,6 +27,8 @@ Singleton {
readonly property real navIconSize: Theme.avatarSize
readonly property real navItemMinHeight: Theme.listItemHeight
readonly property real sidebarGroupGap: Theme.spacingS
readonly property real searchBarHeight: 56
readonly property real searchBarGap: Theme.spacingM
readonly property real avatarSize: 64
readonly property real splitDividerHeight: Theme.iconSize
readonly property real buttonGroupCompactThreshold: 200
@@ -36,8 +36,26 @@ Rectangle {
readonly property color glyphColor: accentPair?.onContainer ?? Theme.primary
property bool isFirstInGroup: true
property bool isLastInGroup: true
readonly property real topRadius: isFirstInGroup ? Theme.groupedListOuterRadius : Theme.groupedListInnerRadius
readonly property real bottomRadius: isLastInGroup ? Theme.groupedListOuterRadius : Theme.groupedListInnerRadius
property real topRadius: active || isFirstInGroup ? Theme.groupedListOuterRadius : Theme.groupedListInnerRadius
property real bottomRadius: active || isLastInGroup ? Theme.groupedListOuterRadius : Theme.groupedListInnerRadius
Behavior on topRadius {
enabled: Theme.currentAnimationSpeed !== SettingsData.AnimationSpeed.None
NumberAnimation {
duration: Theme.expressiveDurations.expressiveFastSpatial
easing.type: Easing.BezierSpline
easing.bezierCurve: Theme.expressiveCurves.expressiveFastSpatial
}
}
Behavior on bottomRadius {
enabled: Theme.currentAnimationSpeed !== SettingsData.AnimationSpeed.None
NumberAnimation {
duration: Theme.expressiveDurations.expressiveFastSpatial
easing.type: Easing.BezierSpline
easing.bezierCurve: Theme.expressiveCurves.expressiveFastSpatial
}
}
width: parent?.width ?? 0
height: Math.max(SettingsMetrics.navItemMinHeight, textColumn.implicitHeight + Theme.spacingS * 2)