From bf57a61c48bffc8c678ec4f7ae1a7689b250fd87 Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Tue, 31 Dec 2019 11:35:37 +0100 Subject: [PATCH] Fix settings overlapping after collapse I can't figure out why we ever set the min size to be negative, but it was ocasonally making the layout stumble --- resources/qml/Settings/SettingView.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/qml/Settings/SettingView.qml b/resources/qml/Settings/SettingView.qml index 5aea939728..bddd82c802 100644 --- a/resources/qml/Settings/SettingView.qml +++ b/resources/qml/Settings/SettingView.qml @@ -251,7 +251,7 @@ Item id: delegate width: scrollView.width - height: provider.properties.enabled === "True" ? UM.Theme.getSize("section").height : - contents.spacing + height: provider.properties.enabled === "True" ? UM.Theme.getSize("section").height : 0 Behavior on height { NumberAnimation { duration: 100 } } opacity: provider.properties.enabled === "True" ? 1 : 0 Behavior on opacity { NumberAnimation { duration: 100 } }