Explorar o código

Merge pull request #34613 from timothyqiu/edscale-again

Fixes Theme Editor minimum height on HiDPI monitor
Rémi Verschelde %!s(int64=5) %!d(string=hai) anos
pai
achega
e1e2ffcfa1
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      editor/plugins/theme_editor_plugin.cpp

+ 1 - 1
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();