1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-24 21:42:51 -05:00

launcher: grid re-style and customizable column counts

This commit is contained in:
bbedward
2025-11-14 13:54:44 -05:00
parent 6387d8400c
commit 8902dd7c44
7 changed files with 75 additions and 5 deletions

View File

@@ -154,7 +154,7 @@ Item {
id: appLauncher
viewMode: SettingsData.spotlightModalViewMode
gridColumns: 4
gridColumns: SettingsData.appLauncherGridColumns
onAppLaunched: () => {
if (parentModal)
parentModal.hide()

View File

@@ -96,7 +96,7 @@ Rectangle {
id: resultsGrid
property int currentIndex: appLauncher ? appLauncher.selectedIndex : -1
property int columns: 4
property int columns: appLauncher ? appLauncher.gridColumns : 4
property bool adaptiveColumns: false
property int minCellWidth: 120
property int maxCellWidth: 160