From 04d5423d814eaf1937190cb321f02c71d99a6778 Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Fri, 16 Aug 2019 13:36:15 +0200 Subject: [PATCH] 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. --- plugins/Toolbox/resources/qml/ToolboxDownloadsPage.qml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/plugins/Toolbox/resources/qml/ToolboxDownloadsPage.qml b/plugins/Toolbox/resources/qml/ToolboxDownloadsPage.qml index 5ea24d17ba..bd89829604 100644 --- a/plugins/Toolbox/resources/qml/ToolboxDownloadsPage.qml +++ b/plugins/Toolbox/resources/qml/ToolboxDownloadsPage.qml @@ -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 - } + }*/ } }