diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2019-12-30 16:39:41 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-30 16:39:41 +0100 |
commit | e1e2ffcfa1ed2f409107a5548841f1217610a02f (patch) | |
tree | 793c40b7187c00cbf914f5fe91265594cb3a698e | |
parent | ae9716cf78636ef7a199746944bee9c302892eed (diff) | |
parent | 7f18560f3cc58c042309f0bc386285e2a85f1ce6 (diff) |
Merge pull request #34613 from timothyqiu/edscale-again
Fixes Theme Editor minimum height on HiDPI monitor
-rw-r--r-- | editor/plugins/theme_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/theme_editor_plugin.cpp b/editor/plugins/theme_editor_plugin.cpp index 3fc77dae02..52c28b84f6 100644 --- a/editor/plugins/theme_editor_plugin.cpp +++ b/editor/plugins/theme_editor_plugin.cpp @@ -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(); |