mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-04 20:23:59 +08:00
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:
parent
3ecdd91223
commit
801a43c874
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user