forked from enlightenment/efl
elm_label: sizing eval is called _on_label_resize to ensure label size.
Summary: EFL should guarantee size of label in various situations that the label is resized. elm_layout_sizing_eval called on on_label_resize. Test Plan: N/A Reviewers: YOhoho, zmike, Hermet Reviewed By: Hermet Subscribers: cedric, #reviewers, Hermet, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11435
This commit is contained in:
parent
559bbd8ce3
commit
3d57fc0c92
|
@ -247,8 +247,8 @@ _on_label_resize(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
|
|||
{
|
||||
ELM_LABEL_DATA_GET(data, sd);
|
||||
|
||||
elm_layout_sizing_eval(data);
|
||||
if (sd->slide_mode != ELM_LABEL_SLIDE_MODE_NONE) _label_slide_change(data);
|
||||
if (sd->linewrap) elm_layout_sizing_eval(data);
|
||||
}
|
||||
|
||||
static int
|
||||
|
|
Loading…
Reference in New Issue