Fix width of simulationView component not being set correctly

CURA-5785
This commit is contained in:
Jaime van Kessel 2018-11-19 10:33:19 +01:00
parent e3ebf89092
commit 6fe89e3d54

View file

@ -64,7 +64,7 @@ Cura.ExpandableComponent
property bool only_show_top_layers: UM.Preferences.getValue("view/only_show_top_layers") 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") property int top_layer_count: UM.Preferences.getValue("view/top_layer_count")
width: base.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: childrenRect.height
spacing: UM.Theme.getSize("layerview_row_spacing").height spacing: UM.Theme.getSize("layerview_row_spacing").height