From 033098038b0a80769b993da69559f9feb050dbc4 Mon Sep 17 00:00:00 2001 From: bbedward Date: Wed, 27 Aug 2025 11:39:53 -0400 Subject: [PATCH] fix position --- Widgets/DankBackdrop.qml | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/Widgets/DankBackdrop.qml b/Widgets/DankBackdrop.qml index 561f9d3b..07d96600 100644 --- a/Widgets/DankBackdrop.qml +++ b/Widgets/DankBackdrop.qml @@ -38,22 +38,13 @@ Item { anchors.left: parent.left anchors.bottom: parent.bottom anchors.leftMargin: Theme.spacingXL * 2 - - readonly property real logoHeight: 6 * (Theme.fontSizeLarge * 1.2 * 1.2) - readonly property real widgetHeight: Math.max(20, 26 + SettingsData.topBarInnerPadding * 0.6) - readonly property real effectiveBarHeight: Math.max(widgetHeight + SettingsData.topBarInnerPadding + 4, Theme.barHeight - 4 - (8 - SettingsData.topBarInnerPadding)) - readonly property real topBarExclusiveZone: SettingsData.topBarVisible && !SettingsData.topBarAutoHide ? effectiveBarHeight + SettingsData.topBarSpacing - 2 + SettingsData.topBarBottomGap : 0 - readonly property real availableHeight: screenHeight - topBarExclusiveZone - anchors.bottomMargin: { - const minMargin = Theme.spacingXL * 3 - const preferredMargin = (availableHeight - logoHeight) * 0.15 - const maxSafeMargin = Math.max(0, availableHeight - logoHeight - Theme.spacingXL) - return Math.min(Math.max(minMargin, preferredMargin), maxSafeMargin) - } + anchors.bottomMargin: Theme.spacingXL * 2 opacity: 0.25 StyledText { + anchors.left: parent.left + anchors.bottom: parent.bottom text: ` ██████╗ █████╗ ███╗ ██╗██╗ ██╗ ██╔══██╗██╔══██╗████╗ ██║██║ ██╔╝