Avoid addressbook buttons expanding if field grows.
authorJose Dapena Paz <jdapena@igalia.com>
Wed, 13 May 2009 15:10:36 +0000 (17:10 +0200)
committerJose Dapena Paz <jdapena@igalia.com>
Wed, 13 May 2009 15:10:36 +0000 (17:10 +0200)
* 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).

src/hildon2/modest-msg-edit-window.c

index 04ee6ea..945562b 100644 (file)
@@ -4307,7 +4307,7 @@ _create_addressbook_box (GtkSizeGroup *title_size_group, GtkSizeGroup *value_siz
 
        box = gtk_hbox_new (FALSE, 0);
 
 
        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);
        gtk_alignment_set_padding (GTK_ALIGNMENT (align), 0, 0, 0, MODEST_MARGIN_DEFAULT);
 
        abook_button = hildon_gtk_button_new (HILDON_SIZE_FINGER_HEIGHT);