From: Goun Lee Date: Mon, 20 Feb 2012 08:02:40 +0000 (+0900) Subject: [multibuttonentry]items aren't packed when view_mode is set in Calendar app X-Git-Tag: REL_F_I9500_20120313_1~61^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b9c00a844cc8669ae84c9d0199acc00836193a80;p=framework%2Fuifw%2Felementary.git [multibuttonentry]items aren't packed when view_mode is set in Calendar app --- diff --git a/src/lib/elc_multibuttonentry.c b/src/lib/elc_multibuttonentry.c index 247c1b5..69c1da8 100644 --- a/src/lib/elc_multibuttonentry.c +++ b/src/lib/elc_multibuttonentry.c @@ -872,8 +872,10 @@ _add_button_item(Evas_Object *obj, const char *str, Multibuttonentry_Pos pos, co _set_vis_guidetext(obj); if (wd->entry) { - if (!wd->view_mode) - elm_box_pack_before(wd->box, btn, wd->entry); + if (!wd->view_mode) + elm_box_pack_before(wd->box, btn, wd->entry); + else + elm_box_pack_end(wd->box, btn); } else elm_box_pack_end(wd->box, btn); @@ -902,6 +904,8 @@ _add_button_item(Evas_Object *obj, const char *str, Multibuttonentry_Pos pos, co { if (!wd->view_mode) elm_box_pack_before(wd->box, btn, wd->entry); + else + elm_box_pack_end(wd->box, btn); } else elm_box_pack_end(wd->box, btn); @@ -930,6 +934,8 @@ _add_button_item(Evas_Object *obj, const char *str, Multibuttonentry_Pos pos, co { if (!wd->view_mode) elm_box_pack_before(wd->box, btn, wd->entry); + else + elm_box_pack_end(wd->box, btn); } else elm_box_pack_end(wd->box, btn);