Browse Source

Add a small padding at the bottom

Otherwise the button is very close to the list of objects.
Diego Prado Gesto 6 years ago
parent
commit
730564345b
2 changed files with 3 additions and 2 deletions
  1. 1 1
      resources/qml/Cura.qml
  2. 2 1
      resources/qml/ObjectSelector.qml

+ 1 - 1
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
                 }
             }
 

+ 2 - 1
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
         {