1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-08 06:25:37 -05:00

powermenu: restore grid as an option

fixes #712
This commit is contained in:
bbedward
2025-11-14 08:51:15 -05:00
parent c4ca3c8644
commit 16a779a41b
4 changed files with 312 additions and 74 deletions

View File

@@ -367,6 +367,14 @@ Item {
wrapMode: Text.Wrap
}
DankToggle {
width: parent.width
text: I18n.tr("Use Grid Layout")
description: I18n.tr("Display power menu actions in a grid instead of a list")
checked: SettingsData.powerMenuGridLayout
onToggled: checked => SettingsData.set("powerMenuGridLayout", checked)
}
DankDropdown {
id: defaultActionDropdown
width: parent.width