summaryrefslogtreecommitdiffstats
path: root/editor/dependency_editor.cpp
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2019-10-12 15:54:16 +0200
committerHugo Locurcio <hugo.locurcio@hugo.pro>2019-10-12 15:54:16 +0200
commit859478251f61e15c7fff4fd02ec557e281fcbb3b (patch)
tree9073b8d93db990f3a9bbf96ac1b1779d2d4e2145 /editor/dependency_editor.cpp
parent3cc94b2c0b90ec1136937e2c02b9d7901d3d28b8 (diff)
downloadredot-engine-859478251f61e15c7fff4fd02ec557e281fcbb3b.tar.gz
Fix the dependency error dialog being too small on hiDPI displays
This closes #32770.
Diffstat (limited to 'editor/dependency_editor.cpp')
-rw-r--r--editor/dependency_editor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/dependency_editor.cpp b/editor/dependency_editor.cpp
index 5f8660e108..1f58eda396 100644
--- a/editor/dependency_editor.cpp
+++ b/editor/dependency_editor.cpp
@@ -646,7 +646,7 @@ DependencyErrorDialog::DependencyErrorDialog() {
vb->add_margin_child(TTR("Load failed due to missing dependencies:"), files, true);
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_cancel()->set_text(TTR("Close"));