diff options
author | shahriarlabib000 <shahriarlabib000@gmail.com> | 2024-09-19 20:39:32 +0600 |
---|---|---|
committer | shahriarlabib000 <shahriarlabib000@gmail.com> | 2024-09-21 01:49:55 +0600 |
commit | 4e916f1fd97d6b416c80ed6bdb685086c3f95dff (patch) | |
tree | 20bd614957f2aeb21840460558dd814b3595648d /editor/plugins/sprite_2d_editor_plugin.cpp | |
parent | 694d3c2930bdfb43fd93e1e6641f66c4f19a5c77 (diff) | |
download | redot-engine-4e916f1fd97d6b416c80ed6bdb685086c3f95dff.tar.gz |
fix popup scale
Diffstat (limited to 'editor/plugins/sprite_2d_editor_plugin.cpp')
-rw-r--r-- | editor/plugins/sprite_2d_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/sprite_2d_editor_plugin.cpp b/editor/plugins/sprite_2d_editor_plugin.cpp index c7db243662..5333e10b56 100644 --- a/editor/plugins/sprite_2d_editor_plugin.cpp +++ b/editor/plugins/sprite_2d_editor_plugin.cpp @@ -593,12 +593,12 @@ Sprite2DEditor::Sprite2DEditor() { add_child(err_dialog); debug_uv_dialog = memnew(ConfirmationDialog); + debug_uv_dialog->set_size(Size2(960, 540) * EDSCALE); VBoxContainer *vb = memnew(VBoxContainer); debug_uv_dialog->add_child(vb); debug_uv = memnew(Panel); debug_uv->connect(SceneStringName(gui_input), callable_mp(this, &Sprite2DEditor::_debug_uv_input)); debug_uv->connect(SceneStringName(draw), callable_mp(this, &Sprite2DEditor::_debug_uv_draw)); - debug_uv->set_custom_minimum_size(Size2(800, 500) * EDSCALE); debug_uv->set_clip_contents(true); vb->add_margin_child(TTR("Preview:"), debug_uv, true); |