1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-06 05:25:41 -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

@@ -58,7 +58,7 @@ DankPopout {
id: appLauncher
viewMode: SettingsData.appLauncherViewMode
gridColumns: 4
gridColumns: SettingsData.appLauncherGridColumns
onAppLaunched: appDrawerPopout.close()
onViewModeSelected: function (mode) {
SettingsData.set("appLauncherViewMode", mode)
@@ -419,7 +419,7 @@ DankPopout {
id: appGrid
property int currentIndex: appLauncher.selectedIndex
property int columns: 4
property int columns: appLauncher.gridColumns
property bool adaptiveColumns: false
property int minCellWidth: 120
property int maxCellWidth: 160