elm_interface_scrollable: make sure this region is really visual

right now we just request the complete geom to be visible since there
seems to be no way ot checking where the new widgets will be in. This
needs some improvements.
This commit is contained in:
Marcel Hollerbach 2017-10-19 09:52:48 +02:00
parent 67234dcde1
commit 56e9f582b6
1 changed files with 4 additions and 0 deletions

View File

@ -4743,6 +4743,10 @@ _elm_interface_scrollable_efl_ui_focus_manager_focus_set(Eo *obj, Elm_Scrollable
geom.y = geom.y + pan_y - pos.y;
elm_interface_scrollable_region_bring_in(obj, geom.x, geom.y, geom.w, geom.h);
geom = efl_gfx_geometry_get(obj);
geom.x = geom.y = 0;
elm_widget_show_region_set(obj, geom, EINA_TRUE);
}
EOLIAN static void