From: Jehun Lim Date: Mon, 27 Jul 2015 06:13:00 +0000 (+0900) Subject: base: adjust the height of play info content X-Git-Tag: accepted/tizen/tv/20150728.070555~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F22%2F44722%2F2;p=profile%2Ftv%2Fapps%2Fnative%2Fair_mediahub.git base: adjust the height of play info content Change-Id: Icaf03bf8c25377f30c041eaedad9284d96e37d13 Signed-off-by: Jehun Lim --- diff --git a/res/edc/view/base.edc b/res/edc/view/base.edc index f1d4bb8..b5aefc2 100644 --- a/res/edc/view/base.edc +++ b/res/edc/view/base.edc @@ -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"; } } } diff --git a/src/util/listmgr.c b/src/util/listmgr.c index 39e829f..eb8b820 100644 --- a/src/util/listmgr.c +++ b/src/util/listmgr.c @@ -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; }