mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-05 00:54:00 +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
|
property alias model: backupList.model
|
||||||
width: parent.width
|
width: parent.width
|
||||||
|
clip: true
|
||||||
ListView
|
ListView
|
||||||
{
|
{
|
||||||
id: backupList
|
id: backupList
|
||||||
width: parent.width
|
width: parent.width
|
||||||
delegate: Item
|
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
|
height: childrenRect.height
|
||||||
|
|
||||||
BackupListItem
|
BackupListItem
|
||||||
|
Loading…
x
Reference in New Issue
Block a user