From: Jose Dapena Paz Date: Wed, 13 May 2009 15:10:36 +0000 (+0200) Subject: Avoid addressbook buttons expanding if field grows. X-Git-Tag: 3.0.17-rc5~10 X-Git-Url: http://git.maemo.org/git/?p=modest;a=commitdiff_plain;h=475809ed665e913d04cb4653491e429dc964d1c8 Avoid addressbook buttons expanding if field grows. * src/hildon2/modest-msg-edit-window.c (_create_addressbook_box): set the alignment expanding of addressbook buttons to be 0.0, to avoid autoexpanding (fixes NB#115954). --- diff --git a/src/hildon2/modest-msg-edit-window.c b/src/hildon2/modest-msg-edit-window.c index 04ee6ea..945562b 100644 --- a/src/hildon2/modest-msg-edit-window.c +++ b/src/hildon2/modest-msg-edit-window.c @@ -4307,7 +4307,7 @@ _create_addressbook_box (GtkSizeGroup *title_size_group, GtkSizeGroup *value_siz box = gtk_hbox_new (FALSE, 0); - align = gtk_alignment_new (0.0, 0.0, 1.0, 1.0); + align = gtk_alignment_new (0.0, 0.0, 1.0, 0.0); gtk_alignment_set_padding (GTK_ALIGNMENT (align), 0, 0, 0, MODEST_MARGIN_DEFAULT); abook_button = hildon_gtk_button_new (HILDON_SIZE_FINGER_HEIGHT);