From 9fe89f880f0689bf6c1066918f8f72a807985224 Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Tue, 6 Dec 2011 15:52:05 +0000 Subject: [PATCH] Revert "elementary/elm_entry : When singlelined & scrolled, entry's min width" This reverts commit 64721. This commit causes other issues, and it also slows entry down. SVN revision: 65959 --- src/lib/elm_entry.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/lib/elm_entry.c b/src/lib/elm_entry.c index 6da436e..21fdfa1 100644 --- a/src/lib/elm_entry.c +++ b/src/lib/elm_entry.c @@ -601,9 +601,8 @@ _elm_deferred_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); - edje_object_size_min_restricted_calc(wd->ent, &fw, &fh, 0, 0); - elm_coords_finger_size_adjust(1, &fw, 1, &minh); - wd->entmw = fw; + elm_coords_finger_size_adjust(1, &minw, 1, &minh); + wd->entmw = minw; 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 -- 2.7.4