diff options
author | taehyub <taehyub.kim@samsung.com> | 2015-12-28 11:06:58 +0900 |
---|---|---|
committer | taehyub <taehyub.kim@samsung.com> | 2015-12-28 11:06:58 +0900 |
commit | 2b66c6610611cf6d27eb32724cf4cd4c2e4e329b (patch) | |
tree | 953d721eefc88196ae234abcd8a79d9c44a8154d | |
parent | 39f11f767393c3cf4d591ee8977ffb8a378870b6 (diff) | |
download | elm-demo-tizen-mobile-2b66c6610611cf6d27eb32724cf4cd4c2e4e329b.tar.gz elm-demo-tizen-mobile-2b66c6610611cf6d27eb32724cf4cd4c2e4e329b.tar.bz2 elm-demo-tizen-mobile-2b66c6610611cf6d27eb32724cf4cd4c2e4e329b.zip |
[Popup] add popup scroller set function for scrollable text sample
Change-Id: I29c29868974e0984b29523f352479efec29540e2
-rw-r--r-- | src/popup.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/popup.c b/src/popup.c index ab98ce1..713daec 100644 --- a/src/popup.c +++ b/src/popup.c @@ -776,6 +776,8 @@ list_it_scrollable_text(void *data, Evas_Object *obj, void *event_info) elm_popup_align_set(popup, ELM_NOTIFY_ALIGN_FILL, 1.0); evas_object_size_hint_weight_set(popup, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); + elm_popup_scrollable_set(popup, EINA_TRUE); + eext_object_event_callback_add(popup, EEXT_CALLBACK_BACK, _popup_hide_cb, NULL); evas_object_smart_callback_add(popup, "dismissed", _popup_hide_finished_cb, NULL); evas_object_smart_callback_add(popup, "block,clicked", _popup_block_clicked_cb, NULL); |