forked from enlightenment/efl
Ecore_Evas (Wayland): Do not set the Smart_Data Frame rectangle as the
"frame object". The resulting smart object is set to the frame object. Add the Smart_Data Frame Text to be part of the Smart Object. Signed-off-by: Christopher Michael <cp.michael@samsung.com> SVN revision: 78048
This commit is contained in:
parent
38a8c94d19
commit
a8f58dc90d
|
@ -350,7 +350,6 @@ _ecore_evas_wl_common_smart_add(Evas_Object *obj)
|
|||
sd->h = 1;
|
||||
|
||||
sd->frame = evas_object_rectangle_add(evas);
|
||||
evas_object_is_frame_object_set(sd->frame, EINA_TRUE);
|
||||
evas_object_color_set(sd->frame, 249, 249, 249, 255);
|
||||
evas_object_smart_member_add(sd->frame, obj);
|
||||
|
||||
|
@ -359,6 +358,7 @@ _ecore_evas_wl_common_smart_add(Evas_Object *obj)
|
|||
evas_object_text_style_set(sd->text, EVAS_TEXT_STYLE_PLAIN);
|
||||
evas_object_text_font_set(sd->text, "Sans", 10);
|
||||
evas_object_text_text_set(sd->text, "Smart Test");
|
||||
evas_object_smart_member_add(sd->text, obj);
|
||||
|
||||
evas_object_smart_data_set(obj, sd);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue