Add a small padding at the bottom

Otherwise the button is very close to the list of objects.
This commit is contained in:
Diego Prado Gesto 2019-03-06 10:38:18 +01:00
parent 982f7085b3
commit 730564345b
2 changed files with 3 additions and 2 deletions

View file

@ -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
}
}

View file

@ -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
{