Fix height of scroll view and make scrollable

Contributes to issue CURA-5876.
This commit is contained in:
Ghostkeeper 2018-12-06 11:16:42 +01:00
parent 5ba8820f18
commit 48e15daf64
No known key found for this signature in database
GPG key ID: 86BEF881AE2CF276
2 changed files with 5 additions and 2 deletions

View file

@ -28,7 +28,9 @@ Column
{
id: container
width: parent.width
height: Math.min(configurationList.contentHeight, 350 * screenScaleFactor)
height: Math.round(Math.min(configurationList.height, 350 * screenScaleFactor))
contentHeight: configurationList.height
clip: true
ButtonGroup
{
@ -41,6 +43,7 @@ Column
spacing: Math.round(UM.Theme.getSize("default_margin").height / 2)
width: container.width
contentHeight: childrenRect.height
height: childrenRect.height
section.property: "modelData.printerType"
section.criteria: ViewSection.FullString