From 730564345b0797b541888899493f17e7d4c3ba44 Mon Sep 17 00:00:00 2001 From: Diego Prado Gesto Date: Wed, 6 Mar 2019 10:38:18 +0100 Subject: [PATCH] Add a small padding at the bottom Otherwise the button is very close to the list of objects. --- resources/qml/Cura.qml | 2 +- resources/qml/ObjectSelector.qml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/resources/qml/Cura.qml b/resources/qml/Cura.qml index 0d668f14d0..da0708b1d2 100644 --- a/resources/qml/Cura.qml +++ b/resources/qml/Cura.qml @@ -219,7 +219,7 @@ UM.MainWindow left: toolbar.right leftMargin: UM.Theme.getSize("default_margin").width rightMargin: UM.Theme.getSize("default_margin").width - bottomMargin: UM.Theme.getSize("thin_margin").width + bottomMargin: UM.Theme.getSize("narrow_margin").height } } diff --git a/resources/qml/ObjectSelector.qml b/resources/qml/ObjectSelector.qml index 3d4d32821c..82bbec7f78 100644 --- a/resources/qml/ObjectSelector.qml +++ b/resources/qml/ObjectSelector.qml @@ -17,9 +17,10 @@ Item { id: openCloseButton width: parent.width - height: contentItem.height + height: contentItem.height + bottomPadding hoverEnabled: true padding: 0 + bottomPadding: UM.Theme.getSize("narrow_margin").height / 2 | 0 anchors {