1
0
Fork 0

Merge pull request #102873 from arkology/shader_editor_sizing

Add custom minimum size for shader tabs
This commit is contained in:
Rémi Verschelde 2025-02-15 23:09:52 +01:00
commit e5860ab63d
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 1 additions and 0 deletions

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