From 2f715e196c8be591396d07e1c550b8ea4e32e346 Mon Sep 17 00:00:00 2001 From: Toast Date: Thu, 5 Jun 2025 00:39:57 +0200 Subject: [PATCH] Qml/ModPage: add a separator at the bottom of the header Also removed the one pixed gap cause it made it look odd --- src/leek/qml/ModPage.qml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/leek/qml/ModPage.qml b/src/leek/qml/ModPage.qml index 62c69ba..1af9afc 100644 --- a/src/leek/qml/ModPage.qml +++ b/src/leek/qml/ModPage.qml @@ -18,9 +18,10 @@ Kirigami.Page { } Rectangle { + id: header Layout.fillWidth: true - // Leave a one pixel gap for the header separator - Layout.topMargin: 1 - root.topPadding + + Layout.topMargin: -root.topPadding Layout.leftMargin: -root.leftPadding Layout.rightMargin: -root.rightPadding @@ -39,6 +40,11 @@ Kirigami.Page { } } } + + Kirigami.Separator { + width: header.width + anchors.top: header.bottom + } } } Controls.Label {