mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 00:39:01 +08:00
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:
parent
60758093f1
commit
04d5423d81
@ -10,9 +10,11 @@ ScrollView
|
|||||||
clip: true
|
clip: true
|
||||||
width: parent.width
|
width: parent.width
|
||||||
height: parent.height
|
height: parent.height
|
||||||
|
contentHeight: mainColumn.height
|
||||||
|
|
||||||
Column
|
Column
|
||||||
{
|
{
|
||||||
|
id: mainColumn
|
||||||
width: base.width
|
width: base.width
|
||||||
spacing: UM.Theme.getSize("default_margin").height
|
spacing: UM.Theme.getSize("default_margin").height
|
||||||
|
|
||||||
@ -30,13 +32,13 @@ ScrollView
|
|||||||
model: toolbox.viewCategory === "material" ? toolbox.materialsAvailableModel : toolbox.pluginsAvailableModel
|
model: toolbox.viewCategory === "material" ? toolbox.materialsAvailableModel : toolbox.pluginsAvailableModel
|
||||||
}
|
}
|
||||||
|
|
||||||
ToolboxDownloadsGrid
|
/*ToolboxDownloadsGrid
|
||||||
{
|
{
|
||||||
id: genericMaterials
|
id: genericMaterials
|
||||||
visible: toolbox.viewCategory === "material"
|
visible: toolbox.viewCategory === "material"
|
||||||
width: parent.width
|
width: parent.width
|
||||||
heading: catalog.i18nc("@label", "Generic Materials")
|
heading: catalog.i18nc("@label", "Generic Materials")
|
||||||
model: toolbox.materialsGenericModel
|
model: toolbox.materialsGenericModel
|
||||||
}
|
}*/
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user