[*][entry] merged with 64721, for fixing scrolled entry bug in searchbar
authorWooHyun Jung <wh0705.jung@samsung.com>
Fri, 4 Nov 2011 06:55:37 +0000 (15:55 +0900)
committerWooHyun Jung <wh0705.jung@samsung.com>
Fri, 4 Nov 2011 06:55:37 +0000 (15:55 +0900)
src/lib/elm_entry.c

index 4b59705..8e368f1 100644 (file)
@@ -724,8 +724,9 @@ _elm_win_recalc_job(void *data)
 
    evas_object_geometry_get(wd->ent, NULL, NULL, &resw, NULL);
    edje_object_size_min_restricted_calc(wd->ent, &minw, &minh, resw, 0);
-   elm_coords_finger_size_adjust(1, &minw, 1, &minh);
-   wd->entmw = minw;
+   edje_object_size_min_restricted_calc(wd->ent, &fw, &fh, 0, 0);
+   elm_coords_finger_size_adjust(1, &fw, 1, &minh);
+   wd->entmw = fw;
    wd->entmh = minh;
    /* This is a hack to workaround the way min size hints are treated.
     * If the minimum width is smaller than the restricted width, it means