From: Jose Dapena Paz Date: Tue, 16 Dec 2008 13:59:14 +0000 (+0000) Subject: Set autowidth and autoheight for attachments field (fixed NB#90014) X-Git-Tag: git_migration_finished~922 X-Git-Url: http://git.maemo.org/git/?p=modest;a=commitdiff_plain;h=c5b95794264e4d463c63edd352b2804814c1cd2e Set autowidth and autoheight for attachments field (fixed NB#90014) pmo-trunk-r6880 --- diff --git a/src/hildon2/modest-msg-edit-window.c b/src/hildon2/modest-msg-edit-window.c index 08d0d72..44365d0 100644 --- a/src/hildon2/modest-msg-edit-window.c +++ b/src/hildon2/modest-msg-edit-window.c @@ -814,9 +814,11 @@ init_window (ModestMsgEditWindow *obj) HILDON_SIZE_AUTO_HEIGHT | HILDON_SIZE_AUTO_WIDTH); subject_caption = modest_maemo_utils_create_captioned (title_size_group, value_size_group, _("mail_va_subject"), subject_box); - priv->attachments_caption = modest_maemo_utils_create_captioned (title_size_group, value_size_group, - _("mail_va_attachment"), - priv->attachments_view); + priv->attachments_caption = modest_maemo_utils_create_captioned_with_size_type (title_size_group, value_size_group, + _("mail_va_attachment"), + priv->attachments_view, + HILDON_SIZE_AUTO_WIDTH | + HILDON_SIZE_AUTO_HEIGHT); /* modest_recpt_editor_set_field_size_group (MODEST_RECPT_EDITOR (priv->to_field), value_size_group); */ /* modest_recpt_editor_set_field_size_group (MODEST_RECPT_EDITOR (priv->cc_field), value_size_group); */ /* modest_recpt_editor_set_field_size_group (MODEST_RECPT_EDITOR (priv->bcc_field), value_size_group); */