summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHermet Park <hermetpark@gmail.com>2019-05-27 14:36:44 +0900
committerHermet Park <hermetpark@gmail.com>2019-05-27 14:36:44 +0900
commit7eef03a041051a170e661aadcfa8628e4b8b2189 (patch)
tree09010f083238662278bae5df5f6e7a00042d0846
parent223c0a0fdce07cd2c8c81d71f905e40834ae9486 (diff)
efl_ui_textpath: redraw text properly.
It needs redraw since text draw depends on the obj' size.
-rw-r--r--src/lib/elementary/efl_ui_textpath.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/elementary/efl_ui_textpath.c b/src/lib/elementary/efl_ui_textpath.c
index df712c1615..fd5339120f 100644
--- a/src/lib/elementary/efl_ui_textpath.c
+++ b/src/lib/elementary/efl_ui_textpath.c
@@ -783,7 +783,9 @@ _efl_ui_textpath_efl_gfx_entity_position_set(Eo *obj, Efl_Ui_Textpath_Data *pd,
783EOLIAN static void 783EOLIAN static void
784_efl_ui_textpath_efl_gfx_entity_size_set(Eo *obj, Efl_Ui_Textpath_Data *pd EINA_UNUSED, Eina_Size2D sz) 784_efl_ui_textpath_efl_gfx_entity_size_set(Eo *obj, Efl_Ui_Textpath_Data *pd EINA_UNUSED, Eina_Size2D sz)
785{ 785{
786 Eina_Size2D psize = efl_gfx_entity_size_get(obj);
786 efl_gfx_entity_size_set(efl_super(obj, MY_CLASS), sz); 787 efl_gfx_entity_size_set(efl_super(obj, MY_CLASS), sz);
788 if (psize.w != sz.w || psize.h != sz.h) _text_draw(pd);
787} 789}
788 790
789EOLIAN static void 791EOLIAN static void