diff options
author | junkyu han <junkyu.han@samsung.com> | 2017-03-08 15:17:39 +0900 |
---|---|---|
committer | junkyu han <junkyu.han@samsung.com> | 2017-03-08 15:18:04 +0900 |
commit | d663c595097027521223fce291600b7002b8257c (patch) | |
tree | 03a3ef14dc699c962d4fa6648a237a02e19c92e2 | |
parent | 418c1486633f4b7a4a32a101df15a981b7bd4348 (diff) | |
download | w3-home-d663c595097027521223fce291600b7002b8257c.tar.gz w3-home-d663c595097027521223fce291600b7002b8257c.tar.bz2 w3-home-d663c595097027521223fce291600b7002b8257c.zip |
Modify padding size to not to scroll on one pagesubmit/tizen_unified/20170310.011402submit/tizen/20170308.070245accepted/tizen/wearable/20170308.121352accepted/tizen/unified/20170310.080612
Change-Id: I71905e69524aa6b46620f1c704c123ee5a527e1b
-rwxr-xr-x | home/include/util.h | 1 | ||||
-rwxr-xr-x | home/src/add-viewer.c | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/home/include/util.h b/home/include/util.h index a7a8c2c..38bdff5 100755 --- a/home/include/util.h +++ b/home/include/util.h @@ -145,6 +145,7 @@ #define INDICATOR_UNIT_SIZE 19 #define INDICATOR_UNIT_ANGLE 6.7 #define CLOCK_UNIT_SIZE 22 +#define PADDING_W 43 /* VCONF */ diff --git a/home/src/add-viewer.c b/home/src/add-viewer.c index 7911820..ab0c596 100755 --- a/home/src/add-viewer.c +++ b/home/src/add-viewer.c @@ -210,7 +210,7 @@ cancel: } else { eina_list_free(l); /* TODO: "No content" hide */ - append_padding(container, 46); + append_padding(container, PADDING_W); } return ECORE_CALLBACK_CANCEL; @@ -245,7 +245,7 @@ static int reload_list_cb(struct add_viewer_package *package, void *data) (void)evas_object_data_del(container, "list"); } - append_padding(container, 46); + append_padding(container, PADDING_W); while (normal_loader_cb(widget_data, container) == ECORE_CALLBACK_RENEW); children = elm_box_children_get(container); |