From cb918cc81777071724373c00f0c25b45c1ddb7cd Mon Sep 17 00:00:00 2001 From: arkology <43543909+arkology@users.noreply.github.com> Date: Fri, 14 Feb 2025 22:40:53 +0300 Subject: [PATCH] Add custom minimum size for shader tabs --- editor/plugins/shader_editor_plugin.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/editor/plugins/shader_editor_plugin.cpp b/editor/plugins/shader_editor_plugin.cpp index 766bbac86b0..06cf80e9283 100644 --- a/editor/plugins/shader_editor_plugin.cpp +++ b/editor/plugins/shader_editor_plugin.cpp @@ -833,6 +833,7 @@ ShaderEditorPlugin::ShaderEditorPlugin() { left_panel->set_custom_minimum_size(Size2(100, 300) * EDSCALE); shader_tabs = memnew(TabContainer); + shader_tabs->set_custom_minimum_size(Size2(460, 300) * EDSCALE); shader_tabs->set_tabs_visible(false); shader_tabs->set_h_size_flags(Control::SIZE_EXPAND_FILL); main_split->add_child(shader_tabs);