Merge pull request #34613 from timothyqiu/edscale-again

Fixes Theme Editor minimum height on HiDPI monitor
This commit is contained in:
Rémi Verschelde 2019-12-30 16:39:41 +01:00 committed by GitHub
commit e1e2ffcfa1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -910,7 +910,7 @@ ThemeEditorPlugin::ThemeEditorPlugin(EditorNode *p_node) {
editor = p_node;
theme_editor = memnew(ThemeEditor);
theme_editor->set_custom_minimum_size(Size2(0, 200));
theme_editor->set_custom_minimum_size(Size2(0, 200) * EDSCALE);
button = editor->add_bottom_panel_item(TTR("Theme"), theme_editor);
button->hide();