Skip to content

Commit e5860ab

Browse files
committed
Merge pull request godotengine#102873 from arkology/shader_editor_sizing
Add custom minimum size for shader tabs
2 parents f0f65af + cb918cc commit e5860ab

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

editor/plugins/shader_editor_plugin.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -833,6 +833,7 @@ ShaderEditorPlugin::ShaderEditorPlugin() {
833833
left_panel->set_custom_minimum_size(Size2(100, 300) * EDSCALE);
834834

835835
shader_tabs = memnew(TabContainer);
836+
shader_tabs->set_custom_minimum_size(Size2(460, 300) * EDSCALE);
836837
shader_tabs->set_tabs_visible(false);
837838
shader_tabs->set_h_size_flags(Control::SIZE_EXPAND_FILL);
838839
main_split->add_child(shader_tabs);

0 commit comments

Comments
 (0)