Skip to content

Commit fc36f39

Browse files
committed
Merge pull request godotengine#100030 from passivestar/mainmenu-valign
Fix vertical alignment of the main menu bar
2 parents 904c23a + dd99abb commit fc36f39

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

editor/editor_node.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7170,6 +7170,7 @@ EditorNode::EditorNode() {
71707170
main_menu = memnew(MenuBar);
71717171
main_menu->set_mouse_filter(Control::MOUSE_FILTER_STOP);
71727172
title_bar->add_child(main_menu);
7173+
main_menu->set_v_size_flags(Control::SIZE_SHRINK_CENTER);
71737174
main_menu->set_theme_type_variation("MainMenuBar");
71747175
main_menu->set_start_index(0); // Main menu, add to the start of global menu.
71757176
main_menu->set_prefer_global_menu(global_menu);

0 commit comments

Comments
 (0)