From 9b36e0dd1cccb316d422e80a53ebd059fa70a943 Mon Sep 17 00:00:00 2001 From: Relintai Date: Wed, 15 Jun 2022 12:47:39 +0200 Subject: [PATCH] Set minimum size for the mat maker editor. --- modules/material_maker/editor/mat_maker_gd_editor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/material_maker/editor/mat_maker_gd_editor.cpp b/modules/material_maker/editor/mat_maker_gd_editor.cpp index 218e6f219..271d36736 100644 --- a/modules/material_maker/editor/mat_maker_gd_editor.cpp +++ b/modules/material_maker/editor/mat_maker_gd_editor.cpp @@ -300,7 +300,7 @@ MatMakerGDEditor::MatMakerGDEditor() { _plugin = nullptr; _undo_redo = nullptr; - set_name("MatMakerGDEditor"); + set_custom_minimum_size(Vector2(0, 200)); set_anchors_and_margins_preset(LayoutPreset::PRESET_WIDE); set_h_size_flags(SIZE_EXPAND_FILL); set_v_size_flags(SIZE_EXPAND_FILL);