Will soon commit a better solution instead.

Revert "Elemenatry: Fixed an issue with elm_scrolled_entry_cursor_end_set not showing the correct region."

This reverts commit 90e80c4045d0c7031b0b01b67b06f62ea8efb14f.

SVN revision: 56281
This commit is contained in:
Tom Hacohen 2011-01-24 10:50:27 +00:00
parent e125443cf8
commit 39ba7b1c23
1 changed files with 2 additions and 2 deletions

View File

@ -1008,10 +1008,10 @@ elm_scrolled_entry_cursor_end_set(Evas_Object *obj)
{
ELM_CHECK_WIDTYPE(obj, widtype);
Widget_Data *wd = elm_widget_data_get(obj);
Evas_Coord x, y, w, h;
if (!wd) return;
int x, y, w, h;
elm_scroller_region_get(wd->scroller, &x, &y, &w, &h);
elm_entry_cursor_end_set(wd->entry);
elm_entry_cursor_geometry_get(wd->entry, &x, &y, &w, &h);
elm_scroller_region_show(wd->scroller, x, y, w, h);
}