rimmed pushed a commit to branch master. http://git.enlightenment.org/tools/eflete.git/commit/?id=5dd2d9add8e9948d8312cb0fb529c59d4ab27611
commit 5dd2d9add8e9948d8312cb0fb529c59d4ab27611 Author: Mykyta Biliavskyi <m.biliavs...@samsung.com> Date: Fri May 27 11:22:37 2016 +0300 Property: put property genlist into nvigator layout. --- src/bin/ui/property/property.c | 8 +++++++- src/bin/ui/property/property_private.h | 1 + 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/bin/ui/property/property.c b/src/bin/ui/property/property.c index 170de26..d2d57e2 100644 --- a/src/bin/ui/property/property.c +++ b/src/bin/ui/property/property.c @@ -168,10 +168,16 @@ property_add(Evas_Object *parent, Property_Mode mode) pd = mem_calloc(1, sizeof(Property_Data)); property_common_itc_init(pd); + pd->layout = elm_layout_add(parent); + elm_layout_theme_set(pd->layout, "layout", "navigator", "default"); + elm_object_text_set(pd->layout, "Property"); + evas_object_show(pd->layout); + pd->genlist = elm_genlist_add(parent); elm_genlist_block_count_set(pd->genlist, 256); elm_scroller_policy_set(pd->genlist, ELM_SCROLLER_POLICY_OFF, ELM_SCROLLER_POLICY_ON); elm_object_style_set(pd->genlist, "property"); + elm_object_content_set(pd->layout, pd->genlist); evas_object_data_set(pd->genlist, PROPERTY_DATA, pd); @@ -217,7 +223,7 @@ property_add(Evas_Object *parent, Property_Mode mode) _items_add(pd->genlist, &items, NULL); GENLIST_FILTER_APPLY(pd->genlist); - return pd->genlist; + return pd->layout; } void diff --git a/src/bin/ui/property/property_private.h b/src/bin/ui/property/property_private.h index 8dfae3a..7d25494 100644 --- a/src/bin/ui/property/property_private.h +++ b/src/bin/ui/property/property_private.h @@ -48,6 +48,7 @@ typedef enum _Property_Control Property_Control; typedef struct _Property_Attribute Property_Attribute; typedef struct _Property_Action Property_Action; typedef struct { + Evas_Object *layout; Evas_Object *genlist; Property_Mode mode; Property_Action *started_action; --