Merge pull request #32773 from Calinou/fix-dependency-error-dialog-hidpi

Fix the dependency error dialog being too small on hiDPI displays
This commit is contained in:
Rémi Verschelde 2019-10-12 17:14:22 +02:00 committed by GitHub
commit 18d378e3d5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"));