summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2019-12-30 16:39:41 +0100
committerGitHub <noreply@github.com>2019-12-30 16:39:41 +0100
commite1e2ffcfa1ed2f409107a5548841f1217610a02f (patch)
tree793c40b7187c00cbf914f5fe91265594cb3a698e
parentae9716cf78636ef7a199746944bee9c302892eed (diff)
parent7f18560f3cc58c042309f0bc386285e2a85f1ce6 (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.cpp2
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();