mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 00:13:30 +00:00
Fixes min size of various editor plugins on HiDPI
* AnimationTree * AudioStream * ResourcePreloader * ShaderEditor * VisualShaderEditor
This commit is contained in:
parent
b563de702c
commit
65e2230f6e
5 changed files with 9 additions and 5 deletions
|
@ -2852,7 +2852,7 @@ VisualShaderEditorPlugin::VisualShaderEditorPlugin(EditorNode *p_node) {
|
|||
|
||||
editor = p_node;
|
||||
visual_shader_editor = memnew(VisualShaderEditor);
|
||||
visual_shader_editor->set_custom_minimum_size(Size2(0, 300));
|
||||
visual_shader_editor->set_custom_minimum_size(Size2(0, 300) * EDSCALE);
|
||||
|
||||
button = editor->add_bottom_panel_item(TTR("VisualShader"), visual_shader_editor);
|
||||
button->hide();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue