mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 02:49:04 +08:00
Add scroll bar to the WorkSpaceDialog
The warning message took out some space from the dialog. Added a scroll bar to make sure the content can still be read. CURA-6990
This commit is contained in:
parent
812b728636
commit
fccfcb0e2b
@ -31,10 +31,18 @@ UM.Dialog
|
||||
}
|
||||
}
|
||||
|
||||
Flickable
|
||||
{
|
||||
clip: true
|
||||
width: parent.width
|
||||
height: parent.height
|
||||
contentHeight: dialogSummaryItem.height
|
||||
ScrollBar.vertical: UM.ScrollBar { id: verticalScrollBar }
|
||||
|
||||
Item
|
||||
{
|
||||
id: dialogSummaryItem
|
||||
width: parent.width
|
||||
width: verticalScrollBar.visible ? parent.width - verticalScrollBar.width - UM.Theme.getSize("default_margin").width : parent.width
|
||||
height: childrenRect.height
|
||||
anchors.margins: 10 * screenScaleFactor
|
||||
|
||||
@ -441,6 +449,7 @@ UM.Dialog
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
buttonWarningText: "The material used in this project is currently not installed in Cura.<br/>Install the material profile and reopen the project."
|
||||
buttonWarning: manager.missingPackages.length > 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user