From f11761a48cea6074d2d642c01bf3f7016e1cbdf7 Mon Sep 17 00:00:00 2001 From: Jehun Lim Date: Tue, 14 Jul 2015 13:07:09 +0900 Subject: [PATCH] listmgr: set scroller step size Change-Id: I700b1b5d26f658493078af050ee23b825126c13c Signed-off-by: Jehun Lim --- src/util/listmgr.c | 5 +++++ 1 file changed, 5 insertions(+) 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"); -- 2.7.4