mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-13 09:47:50 -06: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
1 changed files with 3 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue