summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBowon Ryu <bowon.ryu@samsung.com>2020-03-02 16:53:10 +0900
committerHermet Park <chuneon.park@samsung.com>2020-03-02 16:53:10 +0900
commit3d57fc0c92d10337c441ec830361751de510e9b1 (patch)
treeb8bb58fc5ebdf1c6749302dc5e38a97bdaeaf664
parent559bbd8ce3511ef2cd6cf78b4526feee362d8628 (diff)
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
-rw-r--r--src/lib/elementary/elm_label.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elementary/elm_label.c b/src/lib/elementary/elm_label.c
index 2279955f01..4f19e36e32 100644
--- a/src/lib/elementary/elm_label.c
+++ b/src/lib/elementary/elm_label.c
@@ -247,8 +247,8 @@ _on_label_resize(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
247{ 247{
248 ELM_LABEL_DATA_GET(data, sd); 248 ELM_LABEL_DATA_GET(data, sd);
249 249
250 elm_layout_sizing_eval(data);
250 if (sd->slide_mode != ELM_LABEL_SLIDE_MODE_NONE) _label_slide_change(data); 251 if (sd->slide_mode != ELM_LABEL_SLIDE_MODE_NONE) _label_slide_change(data);
251 if (sd->linewrap) elm_layout_sizing_eval(data);
252} 252}
253 253
254static int 254static int