Fix scrolling all the way down in Qt 5.13

It didn't properly connect the height of the column to the scrolled length, I think. Perhaps a Qt bug. It didn't occur in 5.11 or 5.10 yet.
This commit is contained in:
Ghostkeeper 2019-08-16 13:36:15 +02:00
parent 60758093f1
commit 04d5423d81
No known key found for this signature in database
GPG key ID: 86BEF881AE2CF276

View file

@ -10,9 +10,11 @@ ScrollView
clip: true
width: parent.width
height: parent.height
contentHeight: mainColumn.height
Column
{
id: mainColumn
width: base.width
spacing: UM.Theme.getSize("default_margin").height
@ -30,13 +32,13 @@ ScrollView
model: toolbox.viewCategory === "material" ? toolbox.materialsAvailableModel : toolbox.pluginsAvailableModel
}
ToolboxDownloadsGrid
/*ToolboxDownloadsGrid
{
id: genericMaterials
visible: toolbox.viewCategory === "material"
width: parent.width
heading: catalog.i18nc("@label", "Generic Materials")
model: toolbox.materialsGenericModel
}
}*/
}
}