diff --git a/plasmoid/contents/ui/main.qml b/plasmoid/contents/ui/main.qml index 160c2d5..ba683b2 100644 --- a/plasmoid/contents/ui/main.qml +++ b/plasmoid/contents/ui/main.qml @@ -24,7 +24,11 @@ PlasmoidItem { } } - preferredRepresentation: compactRepresentation + // On the desktop (Planar), the widget has plenty of room so Plasma will + // automatically use fullRepresentation. In a panel, the available space + // is smaller than switchWidth/switchHeight so compactRepresentation is used. + switchWidth: Kirigami.Units.gridUnit * 10 + switchHeight: Kirigami.Units.gridUnit * 10 toolTipMainText: "Ollie" toolTipSubText: {