mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Rename Control margin to offset
This commit is contained in:
parent
30d469a5e0
commit
4b8b803931
106 changed files with 1278 additions and 1278 deletions
|
|
@ -558,7 +558,7 @@ ShaderEditor::ShaderEditor(EditorNode *p_node) {
|
|||
shader_editor = memnew(ShaderTextEditor);
|
||||
shader_editor->set_v_size_flags(SIZE_EXPAND_FILL);
|
||||
shader_editor->add_theme_constant_override("separation", 0);
|
||||
shader_editor->set_anchors_and_margins_preset(Control::PRESET_WIDE);
|
||||
shader_editor->set_anchors_and_offsets_preset(Control::PRESET_WIDE);
|
||||
|
||||
shader_editor->connect("script_changed", callable_mp(this, &ShaderEditor::apply_shaders));
|
||||
EditorSettings::get_singleton()->connect("settings_changed", callable_mp(this, &ShaderEditor::_editor_settings_changed));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue