mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-08-06 14:26:32 +00:00
Merge pull request #434 from lonerOrz/fix/color-scheme-layout
fix(settings): make color scheme grid layout responsive
This commit is contained in:
@@ -220,7 +220,7 @@ ColumnLayout {
|
||||
|
||||
// Color Schemes Grid
|
||||
GridLayout {
|
||||
columns: 3
|
||||
columns: Math.max(1, Math.floor((root.width + columnSpacing) / (222 * scaling + columnSpacing)))
|
||||
rowSpacing: Style.marginM * scaling
|
||||
columnSpacing: Style.marginM * scaling
|
||||
Layout.fillWidth: true
|
||||
|
||||
Reference in New Issue
Block a user