listmgr: set scroller step size 88/43788/1
authorJehun Lim <jehun.lim@samsung.com>
Tue, 14 Jul 2015 04:07:09 +0000 (13:07 +0900)
committerJehun Lim <jehun.lim@samsung.com>
Tue, 14 Jul 2015 04:07:09 +0000 (13:07 +0900)
Change-Id: I700b1b5d26f658493078af050ee23b825126c13c
Signed-off-by: Jehun Lim <jehun.lim@samsung.com>
src/util/listmgr.c

index b2f0511..3b0c86f 100644 (file)
@@ -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");