summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-10-12 17:14:22 +0200
committerGitHub <noreply@github.com>2019-10-12 17:14:22 +0200
commit18d378e3d55b51e8f33b6251b8c7e90047022528 (patch)
tree8b33a908356c5c201b88d96d9c852f5b7d0f19ce
parent26bbb26738ec94d2f74ad866b79e5f44ca62ca75 (diff)
parent859478251f61e15c7fff4fd02ec557e281fcbb3b (diff)
Merge pull request #32773 from Calinou/fix-dependency-error-dialog-hidpi
Fix the dependency error dialog being too small on hiDPI displays
-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"));