1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Fix the dependency error dialog being too small on hiDPI displays

This closes #32770.
This commit is contained in:
Hugo Locurcio
2019-10-12 15:54:16 +02:00
parent 3cc94b2c0b
commit 859478251f

View File

@@ -646,7 +646,7 @@ DependencyErrorDialog::DependencyErrorDialog() {
vb->add_margin_child(TTR("Load failed due to missing dependencies:"), files, true); vb->add_margin_child(TTR("Load failed due to missing dependencies:"), files, true);
files->set_v_size_flags(SIZE_EXPAND_FILL); files->set_v_size_flags(SIZE_EXPAND_FILL);
set_custom_minimum_size(Size2(500, 220)); set_custom_minimum_size(Size2(500, 220) * EDSCALE);
get_ok()->set_text(TTR("Open Anyway")); get_ok()->set_text(TTR("Open Anyway"));
get_cancel()->set_text(TTR("Close")); get_cancel()->set_text(TTR("Close"));