diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2021-12-09 10:22:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-09 10:22:24 +0100 |
commit | 4129c1d140b8c48b64c993fdfa6083e0ec59c8f0 (patch) | |
tree | 64fa9af1dc2f924c9e3ea7c0cdc65e84b1d2ebfb /editor/action_map_editor.cpp | |
parent | dcca8aba4f01dfc55c1d7adb6bef7bee684cf447 (diff) | |
parent | 41a20171eb81a7850dd96ec31da4b40c619538a2 (diff) | |
download | redot-engine-4129c1d140b8c48b64c993fdfa6083e0ec59c8f0.tar.gz |
Merge pull request #55299 from nathanfranke/renames
Diffstat (limited to 'editor/action_map_editor.cpp')
-rw-r--r-- | editor/action_map_editor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/action_map_editor.cpp b/editor/action_map_editor.cpp index dc0c62fbc9..9df76b8657 100644 --- a/editor/action_map_editor.cpp +++ b/editor/action_map_editor.cpp @@ -612,7 +612,7 @@ InputEventConfigurationDialog::InputEventConfigurationDialog() { add_child(main_vbox); tab_container = memnew(TabContainer); - tab_container->set_tab_align(TabContainer::TabAlign::ALIGN_LEFT); + tab_container->set_tab_alignment(TabContainer::ALIGNMENT_LEFT); tab_container->set_use_hidden_tabs_for_min_size(true); tab_container->set_v_size_flags(Control::SIZE_EXPAND_FILL); tab_container->connect("tab_selected", callable_mp(this, &InputEventConfigurationDialog::_tab_selected)); @@ -622,7 +622,7 @@ InputEventConfigurationDialog::InputEventConfigurationDialog() { VBoxContainer *vb = memnew(VBoxContainer); vb->set_name(TTR("Listen for Input")); event_as_text = memnew(Label); - event_as_text->set_align(Label::ALIGN_CENTER); + event_as_text->set_horizontal_alignment(HORIZONTAL_ALIGNMENT_CENTER); vb->add_child(event_as_text); // Mouse button detection rect (Mouse button event outside this ColorRect will be ignored) mouse_detection_rect = memnew(ColorRect); |