path: root/src/lib/elementary/efl_ui_textpath.c
diff options
authorYoungbok Shin <youngb.shin@samsung.com>2018-05-28 14:48:41 +0900
committerHermet Park <hermetpark@gmail.com>2018-05-28 14:48:41 +0900
commit8d249c9445b1ebaea22fc711e3778b5623445c73 (patch)
treecf6eb6d5b03bfcfa18c3553244fa97d23951ce73 /src/lib/elementary/efl_ui_textpath.c
parentefl_ui_popup: use "elm.swallow.content" name instead of "default" for scroller (diff)
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
Diffstat (limited to 'src/lib/elementary/efl_ui_textpath.c')
1 files changed, 1 insertions, 0 deletions
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);
+ _sizing_eval(pd);
return ret;