diff options
author | SangHyeon Lee <sh10233.lee@samsung.com> | 2016-05-24 14:11:07 +0900 |
---|---|---|
committer | SangHyeon Lee <sh10233.lee@samsung.com> | 2016-05-24 14:14:24 +0900 |
commit | 89d886af485c3e71723f22485635f4af18e69761 (patch) | |
tree | 30e23cb978e0579b125f51573e0e36435b9d7fc6 | |
parent | 4044fe650469d6b5910b62692236487630d8db9a (diff) | |
download | efl-89d886af485c3e71723f22485635f4af18e69761.tar.gz |
genlist: process message before restricted calc for get proper size of text and content visibled
Summary:
genlist text_get and content_get send signal for visibled or re-arrange
it's part on edc.
this singal may need to be processed before calculating item edc for
proper result.
we cannot call one only one time in realized function, because, size
must calculated before the realized callback, and user can send
customized signal in their realized callback which also need to be
processed.
Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
-rw-r--r-- | src/lib/elementary/elm_genlist.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/elementary/elm_genlist.c b/src/lib/elementary/elm_genlist.c index db67e9df7b..e48a5f0186 100644 --- a/src/lib/elementary/elm_genlist.c +++ b/src/lib/elementary/elm_genlist.c @@ -1910,6 +1910,8 @@ _item_realize(Elm_Gen_Item *it, elm_coords_finger_size_adjust(1, &mw, 1, &mh); if (sd->mode == ELM_LIST_COMPRESS) mw = sd->prev_viewport_w; + // Process signal for proper size calc with text and content visible. + edje_object_message_signal_process(VIEW(it)); edje_object_size_min_restricted_calc(VIEW(it), &mw, &mh, mw, mh); it->item->w = it->item->minw = mw; it->item->h = it->item->minh = mh; |