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
wilder-portage-prov
Niccolò Venerandi 6 years ago
parent ebf61e5ecf
commit 6e73cf357d
  1. 2
      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

Loading…
Cancel
Save