From: Jose Dapena Paz Date: Wed, 11 Nov 2009 12:10:27 +0000 (+0100) Subject: Set up properly the alignment of show more buttons. X-Git-Tag: 3.1.14~5 X-Git-Url: http://git.maemo.org/git/?p=modest;a=commitdiff_plain;h=2f61f926c4cad07c541b2c4e99dd5e9e1d153e50;hp=3e27aefbedc6e025124197c745f69106013c9d97 Set up properly the alignment of show more buttons. --- diff --git a/src/hildon2/modest-header-window.c b/src/hildon2/modest-header-window.c index 79d44ce..36108c3 100644 --- a/src/hildon2/modest-header-window.c +++ b/src/hildon2/modest-header-window.c @@ -752,6 +752,9 @@ create_empty_view (ModestWindow *self) priv->show_more_button2 = hildon_button_new (MODEST_EDITABLE_SIZE, HILDON_BUTTON_ARRANGEMENT_VERTICAL); hildon_button_set_title (HILDON_BUTTON (priv->show_more_button2), _("mcen_va_more")); + hildon_button_set_alignment (HILDON_BUTTON (priv->show_more_button2), 0.5, 0.5, 1.0, 1.0); + hildon_button_set_title_alignment (HILDON_BUTTON (priv->show_more_button2), 0.5, 0.5); + hildon_button_set_value_alignment (HILDON_BUTTON (priv->show_more_button2), 0.5, 0.5); gtk_widget_hide_all (priv->show_more_button2); hbox = gtk_hbox_new (TRUE, 0); @@ -843,6 +846,9 @@ modest_header_window_new (TnyFolder *folder, const gchar *account_name, const gc priv->show_more_button = hildon_button_new (MODEST_EDITABLE_SIZE, HILDON_BUTTON_ARRANGEMENT_VERTICAL); hildon_button_set_title (HILDON_BUTTON (priv->show_more_button), _("mcen_va_more")); + hildon_button_set_alignment (HILDON_BUTTON (priv->show_more_button), 0.5, 0.5, 1.0, 1.0); + hildon_button_set_title_alignment (HILDON_BUTTON (priv->show_more_button), 0.5, 0.5); + hildon_button_set_value_alignment (HILDON_BUTTON (priv->show_more_button), 0.5, 0.5); gtk_box_pack_start (GTK_BOX (action_area_box), priv->new_message_button, TRUE, TRUE, 0); gtk_box_pack_start (GTK_BOX (action_area_box), priv->show_more_button, TRUE, TRUE, 0);