1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-04-04 21:02:06 -04:00

settings: DankCollapsible

This commit is contained in:
purian23
2026-02-08 20:26:06 -05:00
parent 37cc4ab197
commit 591d2ba4d4
4 changed files with 13 additions and 0 deletions

View File

@@ -1028,6 +1028,8 @@ Item {
iconName: "rounded_corner"
title: I18n.tr("Corners & Background")
settingKey: "barCorners"
collapsible: true
expanded: false
visible: selectedBarConfig?.enabled
SettingsToggleRow {
@@ -1103,6 +1105,9 @@ Item {
id: shadowCard
iconName: "layers"
title: I18n.tr("Shadow", "bar shadow settings card")
settingKey: "barShadow"
collapsible: true
expanded: false
visible: selectedBarConfig?.enabled
readonly property bool shadowActive: (selectedBarConfig?.shadowIntensity ?? 0) > 0

View File

@@ -473,6 +473,8 @@ Item {
iconName: "space_bar"
title: I18n.tr("Spacing")
settingKey: "dockSpacing"
collapsible: true
expanded: false
SettingsSliderRow {
text: I18n.tr("Padding")
@@ -524,6 +526,8 @@ Item {
iconName: "border_style"
title: I18n.tr("Border")
settingKey: "dockBorder"
collapsible: true
expanded: false
SettingsToggleRow {
text: I18n.tr("Border")

View File

@@ -1056,6 +1056,8 @@ Item {
iconName: "history"
title: I18n.tr("Recently Used Apps")
settingKey: "recentApps"
collapsible: true
expanded: false
property var rankedAppsModel: {
var ranking = AppUsageHistoryData.appUsageRanking;

View File

@@ -192,6 +192,8 @@ Item {
iconName: "timer"
title: I18n.tr("Notification Timeouts")
settingKey: "notificationTimeouts"
collapsible: true
expanded: false
SettingsDropdownRow {
settingKey: "notificationTimeoutLow"