diff --git a/editor/debugger/editor_performance_profiler.cpp b/editor/debugger/editor_performance_profiler.cpp index baa57b02ce8..41e7d4024ff 100644 --- a/editor/debugger/editor_performance_profiler.cpp +++ b/editor/debugger/editor_performance_profiler.cpp @@ -396,10 +396,14 @@ EditorPerformanceProfiler::EditorPerformanceProfiler() { set_split_offset(340 * EDSCALE); monitor_tree = memnew(Tree); + monitor_tree->set_custom_minimum_size(Size2(300, 0) * EDSCALE); monitor_tree->set_auto_translate_mode(AUTO_TRANSLATE_MODE_DISABLED); monitor_tree->set_columns(2); monitor_tree->set_column_title(0, TTR("Monitor")); + monitor_tree->set_column_expand(0, true); monitor_tree->set_column_title(1, TTR("Value")); + monitor_tree->set_column_custom_minimum_width(1, 100 * EDSCALE); + monitor_tree->set_column_expand(1, false); monitor_tree->set_column_titles_visible(true); monitor_tree->connect("item_edited", callable_mp(this, &EditorPerformanceProfiler::_monitor_select)); monitor_tree->create_item(); @@ -408,6 +412,7 @@ EditorPerformanceProfiler::EditorPerformanceProfiler() { add_child(monitor_tree); monitor_draw = memnew(Control); + monitor_draw->set_custom_minimum_size(Size2(300, 0) * EDSCALE); monitor_draw->set_clip_contents(true); monitor_draw->connect(SceneStringName(draw), callable_mp(this, &EditorPerformanceProfiler::_monitor_draw)); monitor_draw->connect(SceneStringName(gui_input), callable_mp(this, &EditorPerformanceProfiler::_marker_input)); diff --git a/editor/debugger/editor_profiler.cpp b/editor/debugger/editor_profiler.cpp index 505660e6a13..567f552298e 100644 --- a/editor/debugger/editor_profiler.cpp +++ b/editor/debugger/editor_profiler.cpp @@ -748,6 +748,7 @@ EditorProfiler::EditorProfiler() { variables->connect("item_edited", callable_mp(this, &EditorProfiler::_item_edited)); graph = memnew(TextureRect); + graph->set_custom_minimum_size(Size2(250 * EDSCALE, 0)); graph->set_expand_mode(TextureRect::EXPAND_IGNORE_SIZE); graph->set_mouse_filter(MOUSE_FILTER_STOP); graph->connect(SceneStringName(draw), callable_mp(this, &EditorProfiler::_graph_tex_draw)); diff --git a/editor/debugger/editor_visual_profiler.cpp b/editor/debugger/editor_visual_profiler.cpp index 9f80c041e2d..c1de540a0da 100644 --- a/editor/debugger/editor_visual_profiler.cpp +++ b/editor/debugger/editor_visual_profiler.cpp @@ -817,6 +817,7 @@ EditorVisualProfiler::EditorVisualProfiler() { variables->connect("cell_selected", callable_mp(this, &EditorVisualProfiler::_item_selected)); graph = memnew(TextureRect); + graph->set_custom_minimum_size(Size2(250 * EDSCALE, 0)); graph->set_expand_mode(TextureRect::EXPAND_IGNORE_SIZE); graph->set_mouse_filter(MOUSE_FILTER_STOP); graph->connect(SceneStringName(draw), callable_mp(this, &EditorVisualProfiler::_graph_tex_draw)); diff --git a/editor/debugger/script_editor_debugger.cpp b/editor/debugger/script_editor_debugger.cpp index ad586d074d8..fd596cfa27e 100644 --- a/editor/debugger/script_editor_debugger.cpp +++ b/editor/debugger/script_editor_debugger.cpp @@ -1920,6 +1920,7 @@ ScriptEditorDebugger::ScriptEditorDebugger() { threads->connect(SceneStringName(item_selected), callable_mp(this, &ScriptEditorDebugger::_select_thread)); stack_dump = memnew(Tree); + stack_dump->set_custom_minimum_size(Size2(150, 0) * EDSCALE); stack_dump->set_allow_reselect(true); stack_dump->set_columns(1); stack_dump->set_column_titles_visible(true); @@ -1931,6 +1932,7 @@ ScriptEditorDebugger::ScriptEditorDebugger() { stack_vb->add_child(stack_dump); VBoxContainer *inspector_vbox = memnew(VBoxContainer); + inspector_vbox->set_custom_minimum_size(Size2(200, 0) * EDSCALE); inspector_vbox->set_h_size_flags(SIZE_EXPAND_FILL); sc->add_child(inspector_vbox); @@ -1956,6 +1958,7 @@ ScriptEditorDebugger::ScriptEditorDebugger() { inspector_vbox->add_child(inspector); breakpoints_tree = memnew(Tree); + breakpoints_tree->set_custom_minimum_size(Size2(100, 0) * EDSCALE); breakpoints_tree->set_h_size_flags(SIZE_EXPAND_FILL); breakpoints_tree->set_column_titles_visible(true); breakpoints_tree->set_column_title(0, TTR("Breakpoints"));