소스 검색

Fix the dependency error dialog being too small on hiDPI displays

This closes #32770.
Hugo Locurcio 5 년 전
부모
커밋
859478251f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      editor/dependency_editor.cpp

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