From f7c6f6d30f43b4dc224cdbebc7d750b91f664a6e Mon Sep 17 00:00:00 2001 From: Devin Lin Date: Mon, 27 Jun 2022 18:08:42 -0400 Subject: [PATCH] panel: Enforce panel thickness --- containments/panel/package/contents/ui/main.qml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/containments/panel/package/contents/ui/main.qml b/containments/panel/package/contents/ui/main.qml index e7316f9d..758b1747 100644 --- a/containments/panel/package/contents/ui/main.qml +++ b/containments/panel/package/contents/ui/main.qml @@ -32,6 +32,13 @@ Item { width: 480 height: PlasmaCore.Units.gridUnit + + // enforce thickness + Binding { + target: plasmoid.Window.window // assumed to be plasma-workspace "PanelView" component + property: "thickness" + value: PlasmaCore.Units.gridUnit + PlasmaCore.Units.smallSpacing + } //BEGIN API implementation @@ -98,7 +105,6 @@ Item { filterByScreen: true filterHidden: true -// screenGeometry: panel.screenGeometry virtualDesktop: virtualDesktopInfo.currentDesktop activity: activityInfo.currentActivity