Fixed size of expandableItem not being the correct width

CURA-5785
This commit is contained in:
Jaime van Kessel 2018-11-14 09:59:56 +01:00
parent 1569fd7396
commit fb72f9a059
4 changed files with 4 additions and 3 deletions

View file

@ -74,7 +74,7 @@ Cura.ExpandableComponent
property bool only_show_top_layers: UM.Preferences.getValue("view/only_show_top_layers")
property int top_layer_count: UM.Preferences.getValue("view/top_layer_count")
width: UM.Theme.getSize("layerview_menu_size").width
width: base.width - 2 * UM.Theme.getSize("default_margin").width
height: childrenRect.height
spacing: UM.Theme.getSize("layerview_row_spacing").height