mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
increase size of grid items in halcyon homescreen
This commit is contained in:
parent
c43c5ce8c3
commit
cb2f857a4c
1 changed files with 1 additions and 1 deletions
|
|
@ -35,7 +35,7 @@ MobileShell.GridView {
|
|||
readonly property int reservedSpaceForLabel: metrics.height
|
||||
readonly property real effectiveContentWidth: width - leftMargin - rightMargin
|
||||
|
||||
cellWidth: gridView.effectiveContentWidth / Math.min(Math.floor(effectiveContentWidth / (Kirigami.Units.iconSizes.large + Kirigami.Units.largeSpacing * 2)), 8)
|
||||
cellWidth: gridView.effectiveContentWidth / Math.min(Math.floor(effectiveContentWidth / (Kirigami.Units.iconSizes.huge + Kirigami.Units.largeSpacing * 2)), 8)
|
||||
cellHeight: cellWidth + reservedSpaceForLabel
|
||||
|
||||
property int columns: Math.floor(effectiveContentWidth / cellWidth)
|
||||
|
|
|
|||
Loading…
Reference in a new issue