From 8d249c9445b1ebaea22fc711e3778b5623445c73 Mon Sep 17 00:00:00 2001 From: Youngbok Shin Date: Mon, 28 May 2018 14:48:41 +0900 Subject: [PATCH] elementary textpath: update Evas map when text is updated Summary: Evas map was not updated when text was updated. @fix Test Plan: 1. Run the following test case. elementary_test -to "efl.ui.textpath" 2. Toggle short text. 3. See a long line from the end of text which is wrong. If you change angle, Evas map will be updated properly. But, it should be updated when text is updated. Reviewers: raster, cedric, thiepha, Hermet Reviewed By: Hermet Subscribers: Hermet, #committers, zmike Tags: #efl Differential Revision: https://phab.enlightenment.org/D6216 --- src/lib/elementary/efl_ui_textpath.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/elementary/efl_ui_textpath.c b/src/lib/elementary/efl_ui_textpath.c index 2896979373..a378bdf7a9 100644 --- a/src/lib/elementary/efl_ui_textpath.c +++ b/src/lib/elementary/efl_ui_textpath.c @@ -570,6 +570,7 @@ _textpath_text_set_internal(Eo *obj, Efl_Ui_Textpath_Data *pd, const char *part, if (!text) text = ""; ret = edje_object_part_text_set(pd->text_obj, part, text); _ellipsis_set(pd); + _sizing_eval(pd); return ret; }