mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 04:39:02 +08:00
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:
parent
0862fd493e
commit
bf57a61c48
@ -251,7 +251,7 @@ Item
|
|||||||
id: delegate
|
id: delegate
|
||||||
|
|
||||||
width: scrollView.width
|
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 } }
|
Behavior on height { NumberAnimation { duration: 100 } }
|
||||||
opacity: provider.properties.enabled === "True" ? 1 : 0
|
opacity: provider.properties.enabled === "True" ? 1 : 0
|
||||||
Behavior on opacity { NumberAnimation { duration: 100 } }
|
Behavior on opacity { NumberAnimation { duration: 100 } }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user