From 0a5fd824108262f87ebfdf6587d7302d2e1ba338 Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Thu, 15 Oct 2015 14:59:51 +0200 Subject: [PATCH] better margins around bottom toolbar --- .../homescreen/package/contents/ui/EditOverlay.qml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/containments/homescreen/package/contents/ui/EditOverlay.qml b/containments/homescreen/package/contents/ui/EditOverlay.qml index 80dbee9d..dab4dd46 100644 --- a/containments/homescreen/package/contents/ui/EditOverlay.qml +++ b/containments/homescreen/package/contents/ui/EditOverlay.qml @@ -96,7 +96,7 @@ Rectangle { bottom: parent.bottom bottomMargin: editOverlay.height - (plasmoid.availableScreenRect.y + plasmoid.availableScreenRect.height) } - height: buttonsLayout.height + margins.top + height: buttonsLayout.height + fixedMargins.top + fixedMargins.bottom/2 imagePath: "widgets/background" enabledBorders: PlasmaCore.FrameSvg.TopBorder RowLayout { @@ -105,7 +105,10 @@ Rectangle { left: parent.left right: parent.right top: parent.top - topMargin: parent.margins.top + topMargin: parent.fixedMargins.top + leftMargin: parent.fixedMargins.left/2 + rightMargin: parent.fixedMargins.right/2 + bottomMargin: parent.fixedMargins.bottom/2 } PlasmaComponents.ToolButton { Layout.fillWidth: true