diff --git a/modules/bar/Bar.qml b/modules/bar/Bar.qml index 3e749f76..8860e47f 100644 --- a/modules/bar/Bar.qml +++ b/modules/bar/Bar.qml @@ -15,6 +15,7 @@ Variants { name: "bar" implicitWidth: content.implicitWidth + exclusiveZone: content.implicitWidth anchors.top: true anchors.bottom: true diff --git a/modules/drawers/Exclusions.qml b/modules/drawers/Exclusions.qml index e73a6a98..8ad23a2b 100644 --- a/modules/drawers/Exclusions.qml +++ b/modules/drawers/Exclusions.qml @@ -10,30 +10,24 @@ Scope { required property ShellScreen screen ExclusionZone { - anchors.left: false + anchors.left: true } ExclusionZone { - anchors.top: false + anchors.top: true } ExclusionZone { - anchors.right: false + anchors.right: true } ExclusionZone { - anchors.bottom: false + anchors.bottom: true } component ExclusionZone: StyledWindow { screen: root.screen name: "border-exclusion" - implicitWidth: BorderConfig.thickness - implicitHeight: BorderConfig.thickness - - anchors.top: true - anchors.left: true - anchors.bottom: true - anchors.right: true + exclusiveZone: BorderConfig.thickness } }