From 7f18560f3cc58c042309f0bc386285e2a85f1ce6 Mon Sep 17 00:00:00 2001 From: Haoyu Qiu Date: Thu, 26 Dec 2019 15:49:48 +0800 Subject: [PATCH] Fixes Theme Editor minimum height on HiDPI monitor * Applies `EDSCALE` to the minimum size --- editor/plugins/theme_editor_plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/plugins/theme_editor_plugin.cpp b/editor/plugins/theme_editor_plugin.cpp index e1aa83e9ab2..16d5a43e203 100644 --- a/editor/plugins/theme_editor_plugin.cpp +++ b/editor/plugins/theme_editor_plugin.cpp @@ -908,7 +908,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();