diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2006-10-21 12:06:26 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2006-10-21 12:06:26 +0000 |
commit | e26475108a30f6dcd7db03148ae37315b368eda1 (patch) | |
tree | d06f187ad114d761c6aa20a6d3e7726c59f0d904 /gtk | |
parent | a8b9766b6d81aeecc0b5f1fd1fbcfe40b8660f38 (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.
svn path=/trunk/; revision=19652
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/about_dlg.c | 2 |
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 |