1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-26 15:46:23 +00:00

Use FlowContainer to handle toolbar overflow more gracefully

(cherry picked from commit 842c3a644f)
This commit is contained in:
Yuri Sizov
2022-07-20 17:22:36 +03:00
committed by Rémi Verschelde
parent ec82655ca0
commit b779a2332b
4 changed files with 85 additions and 77 deletions

View File

@@ -712,11 +712,10 @@ private:
void _update_camera_override_button(bool p_game_running);
void _update_camera_override_viewport(Object *p_viewport);
HBoxContainer *hbc_menu;
// Used for secondary menu items which are displayed depending on the currently selected node
// (such as MeshInstance's "Mesh" menu).
PanelContainer *context_menu_container;
HBoxContainer *hbc_context_menu;
PanelContainer *context_menu_panel = nullptr;
HBoxContainer *context_menu_hbox = nullptr;
void _generate_selection_boxes();
UndoRedo *undo_redo;