From e27764e4d00c0e3dead711689c5a598b91ce6256 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Fri, 25 Sep 2026 19:41:21 +0200 Subject: 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 --- keybinds/Keybinds.qml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'keybinds') 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 { -- cgit v1.2.3