hermet pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=8d249c9445b1ebaea22fc711e3778b5623445c73

commit 8d249c9445b1ebaea22fc711e3778b5623445c73
Author: Youngbok Shin <youngb.s...@samsung.com>
Date:   Mon May 28 14:48:41 2018 +0900

    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;
 }

-- 


Reply via email to