Add a small margin in the right so the close button is never behind the scrollbar

Contributes to CURA-6005.
This commit is contained in:
Diego Prado Gesto 2019-01-11 17:04:51 +01:00
parent 3ecdd91223
commit 801a43c874

View File

@ -11,13 +11,15 @@ ScrollView
{
property alias model: backupList.model
width: parent.width
clip: true
ListView
{
id: backupList
width: parent.width
delegate: Item
{
width: parent.width
// Add a margin, otherwise the scrollbar is on top of the right most component
width: parent.width - UM.Theme.getSize("default_margin").width
height: childrenRect.height
BackupListItem