1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Fix MenuButton style in editor top menu bar

This commit is contained in:
Giganzo
2025-02-10 10:03:54 +01:00
parent f418603522
commit f7b6f98215
8 changed files with 16 additions and 0 deletions

View File

@@ -569,6 +569,8 @@ MeshInstance3DEditor::MeshInstance3DEditor() {
options = memnew(MenuButton);
options->set_text(TTR("Mesh"));
options->set_switch_on_hover(true);
options->set_flat(false);
options->set_theme_type_variation("FlatMenuButton");
Node3DEditor::get_singleton()->add_control_to_menu_panel(options);
options->get_popup()->add_item(TTR("Create Collision Shape..."), MENU_OPTION_CREATE_COLLISION_SHAPE);