mirror of
https://github.com/tiennm99/godot.git
synced 2026-08-05 04:22:10 +00:00
Rename Control PRESET_WIDE to PRESET_FULL_RECT
This commit is contained in:
@@ -198,7 +198,7 @@ EditorPath::EditorPath(EditorSelectionHistory *p_history) {
|
||||
history = p_history;
|
||||
|
||||
MarginContainer *main_mc = memnew(MarginContainer);
|
||||
main_mc->set_anchors_and_offsets_preset(PRESET_WIDE);
|
||||
main_mc->set_anchors_and_offsets_preset(PRESET_FULL_RECT);
|
||||
main_mc->add_theme_constant_override("margin_left", 4 * EDSCALE);
|
||||
main_mc->add_theme_constant_override("margin_right", 6 * EDSCALE);
|
||||
add_child(main_mc);
|
||||
|
||||
Reference in New Issue
Block a user