mirror of
https://github.com/godotengine/godot.git
synced 2025-10-29 20:51:14 +00:00
Add custom minimum size for shader tabs
This commit is contained in:
parent
b607110ad2
commit
cb918cc817
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue