From: Jehun Lim Date: Tue, 14 Jul 2015 04:07:09 +0000 (+0900) Subject: listmgr: set scroller step size X-Git-Tag: accepted/tizen/tv/20150728.070555~77 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f11761a48cea6074d2d642c01bf3f7016e1cbdf7;p=profile%2Ftv%2Fapps%2Fnative%2Fair_mediahub.git listmgr: set scroller step size Change-Id: I700b1b5d26f658493078af050ee23b825126c13c Signed-off-by: Jehun Lim --- diff --git a/src/util/listmgr.c b/src/util/listmgr.c index b2f0511..3b0c86f 100644 --- a/src/util/listmgr.c +++ b/src/util/listmgr.c @@ -26,6 +26,8 @@ #include "util/listmgr.h" #include "util/util.h" +#define SCROLLER_STEP_SIZE(x) ((x) + 10) + enum _object_type { LISTMGR_GRID = 0, }; @@ -320,6 +322,9 @@ bool listmgr_draw_list_area(struct listmgr *lmgr) return false; } + elm_scroller_step_size_set(scr, + SCROLLER_STEP_SIZE(lmgr->data->box_padding), 0); + box = util_add_box(scr); if (!box) { _ERR("failed to create box object");