forked from enlightenment/efl
efl_ui: activate widget focus on efl.ui.item.
Summary: Unlikely efl.ui.Layout, Item need to be focusable, so it may traverse list by your command of focus moving. Test Plan: tested in efl_ui_list_example_1.c efl_ui_grid_example_1.c check whether item show their focus properly. scroll feature is not yet supported by efl_ui_scroll itself. Reviewers: eagleeye, cedric, Hermet, felipealmeida, bu5hm4n Reviewed By: bu5hm4n Subscribers: bu5hm4n, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7465
This commit is contained in:
parent
f56cf318e5
commit
c3f37111ff
|
@ -216,6 +216,9 @@ _efl_ui_item_efl_object_finalize(Eo *obj, Efl_Ui_Item_Data *pd EINA_UNUSED)
|
|||
eo = efl_finalize(efl_super(obj, MY_CLASS));
|
||||
ELM_WIDGET_DATA_GET_OR_RETURN(eo, wd, eo);
|
||||
|
||||
/* Support Item Focus Feature */
|
||||
elm_widget_can_focus_set(obj, EINA_TRUE);
|
||||
|
||||
_item_mouse_callback_add(wd->resize_obj, eo);
|
||||
return eo;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue