the text in the about box license page was hard to read because of line breaks at...
authorUlf Lamping <ulf.lamping@web.de>
Sat, 21 Oct 2006 12:06:26 +0000 (12:06 -0000)
committerUlf Lamping <ulf.lamping@web.de>
Sat, 21 Oct 2006 12:06:26 +0000 (12:06 -0000)
set the minimum size of the widget to 600 pixels - this is working well on my machine. If anyone has problems even with this width (e.g. because of using a larger font) we might increase the size even further.

Of course, this increases the overall size of the about dialog, but the other tabs seem to be working well with it.

svn path=/trunk/; revision=19652

gtk/about_dlg.c

index 358ecfe3f3492a09007d7d90082d09821609dd0a..eee578ca5c6f05c7315cb556668ce89cecab8d2f 100644 (file)
@@ -347,6 +347,8 @@ about_wireshark_cb( GtkWidget *w _U_, gpointer data _U_ )
 #if GTK_MAJOR_VERSION >= 2 || GTK_MINOR_VERSION >= 3
   license_page = about_license_page_new();
   page_lb = gtk_label_new("License");
+  /* set a minmum width to avoid a lot of line breaks at the wrong places */
+  WIDGET_SET_SIZE(license_page, 600, -1);
   gtk_notebook_append_page(GTK_NOTEBOOK(main_nb), license_page, page_lb);
 #endif