mirror of
https://github.com/godotengine/godot.git
synced 2026-01-08 00:25:01 +03:00
Merge pull request #11424 from groud/control_node_presets
Implements set_margins_preset(...)
This commit is contained in:
@@ -161,7 +161,7 @@ EditorLog::EditorLog() {
|
||||
log->set_selection_enabled(true);
|
||||
log->set_focus_mode(FOCUS_CLICK);
|
||||
log->set_custom_minimum_size(Size2(0, 180) * EDSCALE);
|
||||
log->set_area_as_parent_rect();
|
||||
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);
|
||||
|
||||
Reference in New Issue
Block a user