diff options
author | Diego Prado Gesto <d.pradogesto@ultimaker.com> | 2019-01-11 19:04:51 +0300 |
---|---|---|
committer | Diego Prado Gesto <d.pradogesto@ultimaker.com> | 2019-01-11 19:04:51 +0300 |
commit | 801a43c874dabc93c2b1ad8555b457544d16f55e (patch) | |
tree | 23ead09748f88874776cf51776d1c71d7192eedc /plugins/CuraDrive | |
parent | 3ecdd91223ce2ecadc0c6322f4b116158d9da428 (diff) |
Add a small margin in the right so the close button is never behind the scrollbar
Contributes to CURA-6005.
Diffstat (limited to 'plugins/CuraDrive')
-rw-r--r-- | plugins/CuraDrive/src/qml/components/BackupList.qml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/CuraDrive/src/qml/components/BackupList.qml b/plugins/CuraDrive/src/qml/components/BackupList.qml index afa9538486..a4a460a885 100644 --- a/plugins/CuraDrive/src/qml/components/BackupList.qml +++ b/plugins/CuraDrive/src/qml/components/BackupList.qml @@ -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 |