Fix height with scaling enabled.
authorChidambar Zinnoury <illogict@online.fr>
Sat, 11 Oct 2008 13:56:36 +0000 (13:56 +0000)
committerChidambar Zinnoury <illogict@online.fr>
Sat, 11 Oct 2008 13:56:36 +0000 (13:56 +0000)
SVN revision: 36585

src/bin/e_editable.c

index 3ec0617..d20c604 100644 (file)
@@ -833,6 +833,7 @@ e_editable_char_size_get(Evas_Object *editable, int *w, int *h)
         style = evas_object_text_style_get(text_obj);
         
         obj = evas_object_text_add(evas);
+        evas_object_scale_set(obj, edje_scale_get());
         evas_object_text_font_source_set(obj, font_source);
         evas_object_text_font_set(obj, font, font_size);
         evas_object_text_style_set(obj, style);