diff --git a/containments/panel/package/contents/ui/main.qml b/containments/panel/package/contents/ui/main.qml index ae21d715..58fc6476 100644 --- a/containments/panel/package/contents/ui/main.qml +++ b/containments/panel/package/contents/ui/main.qml @@ -24,15 +24,18 @@ ContainmentItem { id: root Plasmoid.backgroundHints: PlasmaCore.Types.NoBackground + // filled in by the shell (Panel.qml) with the plasma-workspace PanelView + property var panel: null + // only opaque if there are no maximized windows on this screen readonly property bool showingApp: WindowPlugin.WindowMaximizedTracker.showingWindow readonly property color backgroundColor: topPanel.colorScopeColor // enforce thickness Binding { - target: Plasmoid.Window.window // assumed to be plasma-workspace "PanelView" component + target: panel // assumed to be plasma-workspace "PanelView" component property: "thickness" - value: Kirigami.Units.gridUnit + Kirigami.Units.smallSpacing + value: MobileShell.Constants.topPanelHeight } //BEGIN API implementation