From e26475108a30f6dcd7db03148ae37315b368eda1 Mon Sep 17 00:00:00 2001 From: Ulf Lamping Date: Sat, 21 Oct 2006 12:06:26 +0000 Subject: 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 --- gtk/about_dlg.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gtk') 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 -- cgit v1.2.3