From 97d003374fbbc21f8e93b468aa96269637f6073b Mon Sep 17 00:00:00 2001 From: Nate Graham Date: Thu, 13 Jan 2022 15:16:53 -0700 Subject: [PATCH] applets/notifications: set implicit size Without this, the FullRepresentation opens to an unusably small size when it's a Panel applet. BUG: 448383 FIXED-IN: 5.24 (cherry picked from commit 9a6b190046a2db46523112da1af61be64c60d047) --- .../notifications/package/contents/ui/FullRepresentation.qml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/applets/notifications/package/contents/ui/FullRepresentation.qml b/applets/notifications/package/contents/ui/FullRepresentation.qml index 90048f609..89f4defeb 100644 --- a/applets/notifications/package/contents/ui/FullRepresentation.qml +++ b/applets/notifications/package/contents/ui/FullRepresentation.qml @@ -24,6 +24,10 @@ PlasmaExtras.Representation { // TODO these should be configurable in the future readonly property int dndMorningHour: 6 readonly property int dndEveningHour: 20 + + implicitWidth: PlasmaCore.Units.gridUnit * 16 + implicitHeight: PlasmaCore.Units.gridUnit * 16 + Layout.fillHeight: plasmoid.formFactor === PlasmaCore.Types.Vertical collapseMarginsHint: true