forked from enlightenment/efl
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:
parent
67234dcde1
commit
56e9f582b6
|
@ -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;
|
geom.y = geom.y + pan_y - pos.y;
|
||||||
|
|
||||||
elm_interface_scrollable_region_bring_in(obj, geom.x, geom.y, geom.w, geom.h);
|
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
|
EOLIAN static void
|
||||||
|
|
Loading…
Reference in New Issue