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
This commit is contained in:
Jaime van Kessel 2019-12-31 11:35:37 +01:00
parent 0862fd493e
commit bf57a61c48
No known key found for this signature in database
GPG key ID: 3710727397403C91

View file

@ -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 } }