From 3e89bebfa222c5a402209a2ac21ac18162ecc3a5 Mon Sep 17 00:00:00 2001 From: Jehun Lim Date: Mon, 27 Jul 2015 15:13:00 +0900 Subject: [PATCH] base: adjust the height of play info content Change-Id: Icaf03bf8c25377f30c041eaedad9284d96e37d13 Signed-off-by: Jehun Lim --- res/edc/view/base.edc | 18 +----------------- src/util/listmgr.c | 2 ++ 2 files changed, 3 insertions(+), 17 deletions(-) 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; } -- 2.7.4