From 33660db12492bbe4e24f513ef150744609213e2d Mon Sep 17 00:00:00 2001 From: Carl Schwan Date: Sat, 30 Jan 2021 18:41:46 +0000 Subject: [PATCH] Fix inconsistent left and right padding in PlasmoidHeading --- .../plasmaextracomponents/qml/PlasmoidHeading.qml | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/declarativeimports/plasmaextracomponents/qml/PlasmoidHeading.qml b/src/declarativeimports/plasmaextracomponents/qml/PlasmoidHeading.qml index 0b352310c..5662d7491 100644 --- a/src/declarativeimports/plasmaextracomponents/qml/PlasmoidHeading.qml +++ b/src/declarativeimports/plasmaextracomponents/qml/PlasmoidHeading.qml @@ -42,8 +42,6 @@ import "private" as Private Layout.fillWidth: true bottomPadding: location == PlasmoidHeading.Location.Footer ? 0 : -backgroundMetrics.getMargin("bottom") topPadding: location == PlasmoidHeading.Location.Footer ? -backgroundMetrics.getMargin("top") : 0 - leftPadding: -backgroundMetrics.getMargin("left") - rightPadding: -backgroundMetrics.getMargin("right") implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, implicitContentHeight + topPadding + bottomPadding) implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, implicitContentWidth + leftPadding + rightPadding)