mirror of
https://github.com/godotengine/godot.git
synced 2025-10-31 21:51:22 +00:00
Fix vertical alignment of the main menu bar
This commit is contained in:
parent
1f47e4c4e3
commit
73f7e1379c
1 changed files with 1 additions and 0 deletions
|
|
@ -7173,6 +7173,7 @@ EditorNode::EditorNode() {
|
|||
main_menu = memnew(MenuBar);
|
||||
main_menu->set_mouse_filter(Control::MOUSE_FILTER_STOP);
|
||||
title_bar->add_child(main_menu);
|
||||
main_menu->set_v_size_flags(Control::SIZE_SHRINK_CENTER);
|
||||
main_menu->set_theme_type_variation("MainMenuBar");
|
||||
main_menu->set_start_index(0); // Main menu, add to the start of global menu.
|
||||
main_menu->set_prefer_global_menu(global_menu);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue