Hi all, attached is a little patch as to properly expand the address lists in the address book window when the dialogue is enlarged. For me, it fixes the resize issue for both the address book dialogue opened from Balsa as well as from the composer dialogue. Cheers, Albrecht.
diff --git a/src/ab-window.c b/src/ab-window.c index 5beb702..b1a7527 100644 --- a/src/ab-window.c +++ b/src/ab-window.c @@ -309,6 +309,8 @@ balsa_ab_window_init(BalsaAbWindow *ab) /* A scrolled window for the address clist */ scrolled_window = gtk_scrolled_window_new(NULL, NULL); + gtk_widget_set_vexpand(scrolled_window, TRUE); + gtk_widget_set_hexpand(scrolled_window, TRUE); gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scrolled_window), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); @@ -342,6 +344,7 @@ balsa_ab_window_init(BalsaAbWindow *ab) /* Column for arrows in compose mode */ ab->arrow_box = gtk_box_new(GTK_ORIENTATION_VERTICAL, 5); gtk_widget_set_vexpand(ab->arrow_box, TRUE); + gtk_widget_set_hexpand(ab->arrow_box, FALSE); gtk_grid_attach(GTK_GRID(grid), ab->arrow_box, 1, 1, 1, 1); gtk_widget_show(ab->arrow_box); @@ -369,6 +372,8 @@ balsa_ab_window_init(BalsaAbWindow *ab) /* list for selected addresses in compose mode */ ab->send_to_list = gtk_scrolled_window_new(NULL, NULL); + gtk_widget_set_vexpand(ab->send_to_list, TRUE); + gtk_widget_set_hexpand(ab->send_to_list, TRUE); gtk_widget_show(ab->send_to_list); gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(ab->send_to_list), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
Attachment:
pgp1TQ0o4Eyc7.pgp
Description: PGP signature