From 6d2ed649c9841adbc50d4d2d92c6d922060810a1 Mon Sep 17 00:00:00 2001 From: PancakeTAS Date: Thu, 25 Dec 2025 06:23:47 +0100 Subject: [PATCH] fix: ui: let the layout decide group height for some reason one the Steam Deck pixels don't quite mean pixels --- lsfg-vk-ui/rsc/UI.qml | 2 +- lsfg-vk-ui/rsc/panes/GroupEntry.qml | 16 +++++++--------- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/lsfg-vk-ui/rsc/UI.qml b/lsfg-vk-ui/rsc/UI.qml index 5cf3b87..5c5a96c 100644 --- a/lsfg-vk-ui/rsc/UI.qml +++ b/lsfg-vk-ui/rsc/UI.qml @@ -9,7 +9,7 @@ import "widgets" ApplicationWindow { title: "lsfg-vk Configuration Window" width: 900 - height: 475 + height: 550 minimumWidth: 700 minimumHeight: 400 visible: true diff --git a/lsfg-vk-ui/rsc/panes/GroupEntry.qml b/lsfg-vk-ui/rsc/panes/GroupEntry.qml index 6162bbc..f928930 100644 --- a/lsfg-vk-ui/rsc/panes/GroupEntry.qml +++ b/lsfg-vk-ui/rsc/panes/GroupEntry.qml @@ -9,15 +9,13 @@ RowLayout { id: root spacing: 12 - height: 32 - Item { - Layout.fillWidth: true - Layout.fillHeight: true + ColumnLayout { clip: true ColumnLayout { - anchors.fill: parent + Layout.fillWidth: true + Layout.fillHeight: true spacing: 0 Label { @@ -37,12 +35,12 @@ RowLayout { } } - Item { - Layout.fillWidth: true - Layout.fillHeight: true + RowLayout { + Item { + Layout.fillWidth: true + } ColumnLayout { - anchors.fill: parent spacing: 0 id: inner }