mirror of https://github.com/godotengine/godot
Add custom minimum size for shader tabs
This commit is contained in:
parent
b607110ad2
commit
cb918cc817
|
|
@ -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…
Reference in New Issue