Browse Source

Increase the size of the About dialog

This makes third-party license texts display without any soft
wrapping.

The About dialog still fits in the editor when using the smallest
window size permitted (1024x600).
Hugo Locurcio 6 năm trước cách đây
mục cha
commit
0550c41ab6
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      editor/editor_about.cpp

+ 1 - 1
editor/editor_about.cpp

@@ -141,7 +141,7 @@ EditorAbout::EditorAbout() {
 	hbc->add_child(about_text);
 
 	TabContainer *tc = memnew(TabContainer);
-	tc->set_custom_minimum_size(Size2(630, 240) * EDSCALE);
+	tc->set_custom_minimum_size(Size2(950, 400) * EDSCALE);
 	tc->set_v_size_flags(Control::SIZE_EXPAND_FILL);
 	vbc->add_child(tc);