aboutsummaryrefslogtreecommitdiffstats
path: root/gtk
diff options
context:
space:
mode:
authorulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2006-10-21 12:06:26 +0000
committerulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2006-10-21 12:06:26 +0000
commitdde689de0476b7b15a0384cf42fe9c6cc8fceeeb (patch)
treed06f187ad114d761c6aa20a6d3e7726c59f0d904 /gtk
parent0d0bb6086c7540eee2f72ab291b244fe1877f9d9 (diff)
the text in the about box license page was hard to read because of line breaks at the wrong places.
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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@19652 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'gtk')
-rw-r--r--gtk/about_dlg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/about_dlg.c b/gtk/about_dlg.c
index 358ecfe3f3..eee578ca5c 100644
--- a/gtk/about_dlg.c
+++ b/gtk/about_dlg.c
@@ -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