Evas text: Remove a whitespcae from the right end of ellipsized RTL text 92/69792/1
authorYoungbok Shin <youngb.shin@samsung.com>
Tue, 17 May 2016 01:07:20 +0000 (10:07 +0900)
committerYoungbok Shin <youngb.shin@samsung.com>
Tue, 17 May 2016 01:07:20 +0000 (10:07 +0900)
@tizen_fix

Change-Id: I89d2e658e986f9fa569608562e494715701ae264

src/lib/evas/canvas/evas_object_text.c

index 80cb41b..65453d9 100644 (file)
@@ -2290,7 +2290,11 @@ _evas_object_text_recalc(Evas_Object *eo_obj, Eina_Unicode *text)
           {
              int min;
 
+             /* TIZEN_ONLY(20160305): Remove a whitespcae from the right end of ellipsized RTL text
              min = w + l + r < obj->cur->geometry.w || obj->cur->geometry.w == 0 ? w + l + r : obj->cur->geometry.w;
+              */
+             min = w + l + r < obj->cur->geometry.w || obj->cur->geometry.w == 0 ? w + l + r : _evas_object_text_horiz_advance_get(o);
+             /* END */
              eo_do_super(eo_obj, MY_CLASS,
                          efl_gfx_size_set(min, h + t + b));
           }