From 6f185cc9f7d8f9880dec01be86cf129dd0a38b84 Mon Sep 17 00:00:00 2001 From: Gilles Roudiere Date: Tue, 26 Sep 2017 18:56:52 +0200 Subject: Remove unecessary anchors&margins set causing bad display (sons of containers) --- editor/editor_log.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'editor/editor_log.cpp') diff --git a/editor/editor_log.cpp b/editor/editor_log.cpp index 46f8baa4c5..407420d3d0 100644 --- a/editor/editor_log.cpp +++ b/editor/editor_log.cpp @@ -161,7 +161,6 @@ EditorLog::EditorLog() { log->set_selection_enabled(true); log->set_focus_mode(FOCUS_CLICK); log->set_custom_minimum_size(Size2(0, 180) * EDSCALE); - log->set_anchors_and_margins_preset(Control::PRESET_WIDE); log->set_v_size_flags(SIZE_EXPAND_FILL); log->set_h_size_flags(SIZE_EXPAND_FILL); vb->add_child(log); -- cgit v1.2.3