1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-04-13 17:22:08 -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" iconName: "rounded_corner"
title: I18n.tr("Corners & Background") title: I18n.tr("Corners & Background")
settingKey: "barCorners" settingKey: "barCorners"
collapsible: true
expanded: false
visible: selectedBarConfig?.enabled visible: selectedBarConfig?.enabled
SettingsToggleRow { SettingsToggleRow {
@@ -1103,6 +1105,9 @@ Item {
id: shadowCard id: shadowCard
iconName: "layers" iconName: "layers"
title: I18n.tr("Shadow", "bar shadow settings card") title: I18n.tr("Shadow", "bar shadow settings card")
settingKey: "barShadow"
collapsible: true
expanded: false
visible: selectedBarConfig?.enabled visible: selectedBarConfig?.enabled
readonly property bool shadowActive: (selectedBarConfig?.shadowIntensity ?? 0) > 0 readonly property bool shadowActive: (selectedBarConfig?.shadowIntensity ?? 0) > 0

View File

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

View File

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

View File

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