forked from enlightenment/efl
efl_ui/scroller: process edje signals during group calc
Summary: scrollbars (and other parts) can have min sizes which affect sizing calcs, so it's necessary to ensure that these signals are processed before trying to size in order to get the correct size Depends on D9593 Reviewers: bu5hm4n Reviewed By: bu5hm4n Subscribers: cedric, #reviewers, #committers Tags: #efl_widgets Differential Revision: https://phab.enlightenment.org/D9594
This commit is contained in:
parent
cc6669c0d2
commit
bc0bd4eb3f
|
@ -335,6 +335,7 @@ _efl_ui_scroller_efl_canvas_group_group_calculate(Eo *obj, Efl_Ui_Scroller_Data
|
|||
|
||||
if (sd->content) efl_gfx_entity_size_set(sd->content, EINA_SIZE2D(view.w, view.h));
|
||||
|
||||
edje_object_message_signal_process(wd->resize_obj);
|
||||
edje_object_size_min_calc(wd->resize_obj, &vmw, &vmh);
|
||||
|
||||
if (sd->match_content_w) size.w = vmw + min.w;
|
||||
|
|
Loading…
Reference in New Issue