From 225761868a207df75034b2e7a10b9538be3aa7c9 Mon Sep 17 00:00:00 2001 From: bruvzg <7645683+bruvzg@users.noreply.github.com> Date: Sat, 23 Mar 2024 21:18:49 +0200 Subject: [macOS] Use "expand_to_title" for the project manager. --- editor/project_manager.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'editor/project_manager.h') diff --git a/editor/project_manager.h b/editor/project_manager.h index 1c829e971d..d472666d1a 100644 --- a/editor/project_manager.h +++ b/editor/project_manager.h @@ -38,6 +38,7 @@ class CheckBox; class EditorAbout; class EditorAssetLibrary; class EditorFileDialog; +class EditorTitleBar; class HFlowContainer; class LineEdit; class LinkButton; @@ -71,12 +72,17 @@ class ProjectManager : public Control { void _update_size_limits(); void _update_theme(bool p_skip_creation = false); + void _titlebar_resized(); MarginContainer *root_container = nullptr; Panel *background_panel = nullptr; VBoxContainer *main_vbox = nullptr; - HBoxContainer *title_bar = nullptr; + EditorTitleBar *title_bar = nullptr; + Control *left_menu_spacer = nullptr; + Control *left_spacer = nullptr; + Control *right_menu_spacer = nullptr; + Control *right_spacer = nullptr; Button *title_bar_logo = nullptr; HBoxContainer *main_view_toggles = nullptr; Button *quick_settings_button = nullptr; -- cgit v1.2.3