1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-07 14:05:38 -05:00

General fixes to spacing and control center

This commit is contained in:
bbedward
2025-07-12 21:31:53 -04:00
parent 7cbc29423f
commit a6bc8d65e2
6 changed files with 91 additions and 86 deletions

View File

@@ -517,7 +517,13 @@ PanelWindow {
// App grid/list container
Rectangle {
width: parent.width
height: parent.height - searchContainer.height - (searchField.text.length === 0 ? 128 : 60) - parent.spacing * 3
height: {
// Calculate more precise remaining height
let usedHeight = 40 + Theme.spacingL // Header
usedHeight += 52 + Theme.spacingL // Search container
usedHeight += (searchField.text.length === 0 ? 40 + Theme.spacingL : 0) // Category/controls when visible
return parent.height - usedHeight
}
color: "transparent"
// List view scroll container