From 9e0d556e718e86038f006b822be4cfa1fe441e72 Mon Sep 17 00:00:00 2001 From: fieldOfView Date: Wed, 6 Jun 2018 11:43:15 +0200 Subject: [PATCH] Limit flicking the Toolbox scrollviews to vertical only --- plugins/Toolbox/resources/qml/ToolboxDetailList.qml | 1 + plugins/Toolbox/resources/qml/ToolboxDownloadsPage.qml | 1 + plugins/Toolbox/resources/qml/ToolboxInstalledPage.qml | 1 + 3 files changed, 3 insertions(+) diff --git a/plugins/Toolbox/resources/qml/ToolboxDetailList.qml b/plugins/Toolbox/resources/qml/ToolboxDetailList.qml index f4d6bf5458..2b4cd838bf 100644 --- a/plugins/Toolbox/resources/qml/ToolboxDetailList.qml +++ b/plugins/Toolbox/resources/qml/ToolboxDetailList.qml @@ -14,6 +14,7 @@ Item frameVisible: false anchors.fill: detailList style: UM.Theme.styles.scrollview + flickableItem.flickableDirection: Flickable.VerticalFlick Column { anchors diff --git a/plugins/Toolbox/resources/qml/ToolboxDownloadsPage.qml b/plugins/Toolbox/resources/qml/ToolboxDownloadsPage.qml index 69e508cd55..73f532e61b 100644 --- a/plugins/Toolbox/resources/qml/ToolboxDownloadsPage.qml +++ b/plugins/Toolbox/resources/qml/ToolboxDownloadsPage.qml @@ -12,6 +12,7 @@ ScrollView width: parent.width height: parent.height style: UM.Theme.styles.scrollview + flickableItem.flickableDirection: Flickable.VerticalFlick Column { width: parent.width - 2 * padding diff --git a/plugins/Toolbox/resources/qml/ToolboxInstalledPage.qml b/plugins/Toolbox/resources/qml/ToolboxInstalledPage.qml index bb0f6fe346..28ae8bb256 100644 --- a/plugins/Toolbox/resources/qml/ToolboxInstalledPage.qml +++ b/plugins/Toolbox/resources/qml/ToolboxInstalledPage.qml @@ -15,6 +15,7 @@ ScrollView width: parent.width height: parent.height style: UM.Theme.styles.scrollview + flickableItem.flickableDirection: Flickable.VerticalFlick Column { spacing: UM.Theme.getSize("default_margin").height