forked from enlightenment/efl
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>
This commit is contained in:
parent
4044fe6504
commit
89d886af48
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue