From 6e73cf357d6ca187c2662c802646b26b6eb9eb32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niccol=C3=B2=20Venerandi?= Date: Thu, 21 May 2020 14:48:07 +0200 Subject: [PATCH] Avoid system tray resizing Summary: Currently, there was some code to avoid system tray resizing. However, being the properties not set to the root element, this was not having any effect. This fixes it. Subscribers: plasma-devel Tags: #plasma Differential Revision: https://phabricator.kde.org/D29824 --- .../systemtray/package/contents/ui/ExpandedRepresentation.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applets/systemtray/package/contents/ui/ExpandedRepresentation.qml b/applets/systemtray/package/contents/ui/ExpandedRepresentation.qml index e63ff6dd0..c9513acb3 100644 --- a/applets/systemtray/package/contents/ui/ExpandedRepresentation.qml +++ b/applets/systemtray/package/contents/ui/ExpandedRepresentation.qml @@ -25,6 +25,7 @@ import org.kde.plasma.components 3.0 as PlasmaComponents import org.kde.plasma.extras 2.0 as PlasmaExtras Item { + //set width/height to avoid an useless Dialog resize width: Layout.minimumWidth height: Layout.minimumHeight Layout.minimumWidth: units.gridUnit * 24 @@ -61,7 +62,6 @@ Item { ColumnLayout { id: expandedRepresentation - //set width/height to avoid an useless Dialog resize anchors.fill: parent spacing: plasmoidHeading.bottomPadding