diff options
| author | Danilo M. <danix@danix.xyz> | 2026-09-25 19:41:21 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-09-25 19:41:21 +0200 |
| commit | e27764e4d00c0e3dead711689c5a598b91ce6256 (patch) | |
| tree | f1d37fb9a61497fc0177d80cf9ad88a5741ffe08 /keybinds | |
| parent | 36bda4f820d87cc55cac5bfac165c291316ca606 (diff) | |
| download | quickshell-e27764e4d00c0e3dead711689c5a598b91ce6256.tar.gz quickshell-e27764e4d00c0e3dead711689c5a598b91ce6256.zip | |
fix(keybinds): fill columns top to bottom
Groups flowed left to right in rows, so each row was as tall as its
longest group: short groups sat above empty space and the block ran
past the top and bottom of the screen. Columns filled to the screen's
height pack the groups and keep everything visible.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'keybinds')
| -rw-r--r-- | keybinds/Keybinds.qml | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/keybinds/Keybinds.qml b/keybinds/Keybinds.qml index 6e7ada9..be28e2f 100644 --- a/keybinds/Keybinds.qml +++ b/keybinds/Keybinds.qml @@ -104,10 +104,17 @@ Scope { font.pixelSize: 22 } + // Groups fill a column down to the screen's height, then + // start the next one, so a long group never leaves a row + // of short ones sitting on empty space. The width is left + // to the content, which is what centres the block. + // ponytail: a single group taller than the screen clips; + // split it in keybindings.lua if one ever gets there. Flow { anchors.centerIn: parent - width: parent.width * 0.9 - spacing: 40 + height: parent.height * 0.9 + flow: Flow.TopToBottom + spacing: 28 visible: root.status === "" Repeater { |
