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

Add custom minimum size for shader tabs

This commit is contained in:
arkology
2025-02-14 22:40:53 +03:00
parent b607110ad2
commit cb918cc817

View File

@@ -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);