diff --git a/modules/material_maker/editor/widgets/tones_editor/tones_editor.cpp b/modules/material_maker/editor/widgets/tones_editor/tones_editor.cpp index 930a21a4d..074ac1670 100644 --- a/modules/material_maker/editor/widgets/tones_editor/tones_editor.cpp +++ b/modules/material_maker/editor/widgets/tones_editor/tones_editor.cpp @@ -215,7 +215,7 @@ MMTonesEditor::MMTonesEditor() { */ _histogram_tr = memnew(TextureRect); - _histogram_tr->set_custom_minimum_size(Vector2(0, 100)); + _histogram_tr->set_custom_minimum_size(Vector2(128, 128)); _histogram_tr->set_h_size_flags(Control::SIZE_EXPAND_FILL); add_child(_histogram_tr); diff --git a/modules/material_maker/editor/widgets/tones_editor/tones_editor.h b/modules/material_maker/editor/widgets/tones_editor/tones_editor.h index 451fd542b..d0a004d65 100644 --- a/modules/material_maker/editor/widgets/tones_editor/tones_editor.h +++ b/modules/material_maker/editor/widgets/tones_editor/tones_editor.h @@ -24,7 +24,7 @@ public: }; enum { - HISTOGRAM_IMAGE_SIZE = 256, + HISTOGRAM_IMAGE_SIZE = 128, }; void set_value(const Ref &v);