mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-09 07:56:22 -06:00
Fix Simulation view popup not sizing down
I have no idea why implictHeight does work and childrenRect.height doesn't (eg; childrenRect.height only scales up for some reason, never down) CURA-5785
This commit is contained in:
parent
10621aacee
commit
3b4d728d6a
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ Cura.ExpandableComponent
|
||||||
property int top_layer_count: UM.Preferences.getValue("view/top_layer_count")
|
property int top_layer_count: UM.Preferences.getValue("view/top_layer_count")
|
||||||
|
|
||||||
width: UM.Theme.getSize("layerview_menu_size").width - 2 * UM.Theme.getSize("default_margin").width
|
width: UM.Theme.getSize("layerview_menu_size").width - 2 * UM.Theme.getSize("default_margin").width
|
||||||
height: childrenRect.height
|
height: implicitHeight
|
||||||
|
|
||||||
spacing: UM.Theme.getSize("layerview_row_spacing").height
|
spacing: UM.Theme.getSize("layerview_row_spacing").height
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue