fixed plugin image size problem
[framework/uifw/elementary.git] / doc / widgets / widget_preview_popup.c
1 #include "widget_preview_tmpl_head.c"
2
3 Evas_Object *o = elm_popup_add(win);
4 evas_object_size_hint_weight_set(bg, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
5 evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
6 elm_win_resize_object_add(win, o);
7 elm_object_part_text_set(o, "title,text", "Title");
8 elm_object_text_set(o, "Content");
9
10 Evas_Object *o2 = elm_button_add(win);
11 elm_object_text_set(o2, "Close");
12 elm_object_part_content_set(o, "button1", o2);
13 evas_object_show(o);
14 #include "widget_preview_tmpl_foot.c"
15