base: adjust the height of play info content 22/44722/2
authorJehun Lim <jehun.lim@samsung.com>
Mon, 27 Jul 2015 06:13:00 +0000 (15:13 +0900)
committerJehun Lim <jehun.lim@samsung.com>
Mon, 27 Jul 2015 06:25:40 +0000 (15:25 +0900)
Change-Id: Icaf03bf8c25377f30c041eaedad9284d96e37d13
Signed-off-by: Jehun Lim <jehun.lim@samsung.com>
res/edc/view/base.edc
src/util/listmgr.c

index f1d4bb8..b5aefc2 100644 (file)
@@ -145,27 +145,12 @@ group {
        name: GRP_LIST_ITEM;
        parts {
                part {
-                       name: "area";
-                       type: RECT;
-                       scale: 1;
-                       description {
-                               state: "default" 0.0;
-                               min: 0 704;
-                               fixed: 0 1;
-                               visible: 0;
-                       }
-               }
-               part {
                        name: PART_ITEM_TITLE;
                        type: SWALLOW;
                        scale: 1;
                        description {
                                state: "default" 0.0;
-                               rel1.to: "area";
-                               rel2 {
-                                       to: "area";
-                                       relative: 1.0 0.0;
-                               }
+                               rel2.relative: 1.0 0.0;
                                min: 0 36;
                                align: 0.5 0.0;
                                fixed: 0 1;
@@ -197,7 +182,6 @@ group {
                                        to: "padding_content";
                                        relative: 0.0 1.0;
                                }
-                               rel2.to: "area";
                        }
                }
        }
index 39e829f..eb8b820 100644 (file)
@@ -529,7 +529,9 @@ bool listmgr_update_play_info(struct listmgr *lmgr, app_media_info *info)
 
        if (!lmgr->show_play_info) {
                elm_box_pack_start(lmgr->box, lmgr->play_info);
+               evas_object_size_hint_align_set(lmgr->play_info, 0.0, 0.0);
                evas_object_show(lmgr->play_info);
+
                lmgr->show_play_info = EINA_TRUE;
                lmgr->focused = lmgr->play_info;
        }