From f66e26d4cc2760982ed0395952914b4cd58eb575 Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Sat, 21 Jun 2025 01:05:04 +0200 Subject: [PATCH] content page: add bottom padding --- .config/quickshell/modules/common/widgets/ContentPage.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.config/quickshell/modules/common/widgets/ContentPage.qml b/.config/quickshell/modules/common/widgets/ContentPage.qml index e965e12f7..07d889492 100644 --- a/.config/quickshell/modules/common/widgets/ContentPage.qml +++ b/.config/quickshell/modules/common/widgets/ContentPage.qml @@ -8,11 +8,12 @@ Flickable { id: root property real baseWidth: 500 property bool forceWidth: false + property real bottomContentPadding: 100 default property alias data: contentColumn.data clip: true - contentHeight: contentColumn.implicitHeight + contentHeight: contentColumn.implicitHeight + root.bottomContentPadding // Add some padding at the bottom implicitWidth: contentColumn.implicitWidth ColumnLayout { @@ -20,7 +21,6 @@ Flickable { width: root.forceWidth ? root.baseWidth : Math.max(root.baseWidth, implicitWidth) anchors { top: parent.top - bottom: parent.bottom horizontalCenter: parent.horizontalCenter margins: 10 }