From 585ceb96e4207c4cc3f9f5416c5b0f6542878009 Mon Sep 17 00:00:00 2001 From: Jon Rogers <67245+devnullvoid@users.noreply.github.com> Date: Sun, 31 Aug 2025 16:21:48 -0400 Subject: [PATCH] VPN Popout: remove redundant Flickable implicitHeight; rely on clip for overflow bounds --- Modules/TopBar/VpnPopout.qml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Modules/TopBar/VpnPopout.qml b/Modules/TopBar/VpnPopout.qml index f5603451..2d5a178c 100644 --- a/Modules/TopBar/VpnPopout.qml +++ b/Modules/TopBar/VpnPopout.qml @@ -24,7 +24,7 @@ DankPopout { } popupWidth: 360 - popupHeight: contentLoader.item ? contentLoader.item.implicitHeight : 260 + popupHeight: Math.min(Screen.height - 100, contentLoader.item ? contentLoader.item.implicitHeight : 260) triggerX: Screen.width - 380 - Theme.spacingL triggerY: Theme.barHeight - 4 + SettingsData.topBarSpacing + Theme.spacingS triggerWidth: 70 @@ -137,6 +137,7 @@ DankPopout { color: Qt.rgba(Theme.surfaceContainerHigh.r, Theme.surfaceContainerHigh.g, Theme.surfaceContainerHigh.b, Theme.getContentBackgroundAlpha() * 0.6) border.color: Theme.outlineStrong border.width: 1 + clip: true Column { id: detailsColumn @@ -199,6 +200,7 @@ DankPopout { width: parent.width height: 160 contentHeight: listCol.height + clip: true Column { id: listCol