From bade37f9f2f7b06defcea921c7befc868ebbbc19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonah=20Br=C3=BCchert?= Date: Tue, 22 Nov 2022 23:14:52 +0100 Subject: [PATCH] Improve popup layout --- src/contents/ui/main.qml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/contents/ui/main.qml b/src/contents/ui/main.qml index 561f29f5..415587ed 100644 --- a/src/contents/ui/main.qml +++ b/src/contents/ui/main.qml @@ -161,10 +161,11 @@ Kirigami.ApplicationWindow { leftPadding: 10 topPadding: 10 - bottomPadding: 10 - + Controls.ScrollBar.horizontal.policy: Controls.ScrollBar.AlwaysOff RowLayout { spacing: 15 + Layout.fillWidth: true + Layout.maximumWidth: popup.width - 23 Repeater { id: recentsRepeater @@ -275,8 +276,12 @@ Kirigami.ApplicationWindow { } } } - + Kirigami.Separator{ + Layout.fillWidth: true + } Repeater { + Layout.fillWidth: true + id: completionList model: SortFilterModel { sourceModel: Library.searches