From d2747e2ca1e211a32e91e44010f40a00e0ac97e4 Mon Sep 17 00:00:00 2001 From: Leander Scherer Date: Sat, 30 May 2026 15:35:27 +0200 Subject: feat(quickshell): add popup controls and privacy indicators --- modules/system/quickshell/PopupCard.qml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'modules/system/quickshell/PopupCard.qml') diff --git a/modules/system/quickshell/PopupCard.qml b/modules/system/quickshell/PopupCard.qml index 6563877..d4d609b 100644 --- a/modules/system/quickshell/PopupCard.qml +++ b/modules/system/quickshell/PopupCard.qml @@ -5,7 +5,7 @@ import QtQuick.Layouts Squircle { id: root - readonly property int maxHeight: 440 + property int maxHeight: 440 property int margins: 16 default property alias content: contentCol.data @@ -13,7 +13,10 @@ Squircle { height: Math.min(Math.max(contentCol.implicitHeight + 2 * margins, 80), maxHeight) Behavior on height { - SpringAnimation { spring: 3; damping: 0.25 } + SpringAnimation { + spring: 3 + damping: 0.25 + } } fillColor: Theme.bg @@ -29,9 +32,7 @@ Squircle { } clip: true contentWidth: availableWidth - ScrollBar.vertical.policy: contentCol.implicitHeight > height - ? ScrollBar.AsNeeded - : ScrollBar.AlwaysOff + ScrollBar.vertical.policy: contentCol.implicitHeight > height ? ScrollBar.AsNeeded : ScrollBar.AlwaysOff ColumnLayout { id: contentCol -- cgit v1.3.1