summaryrefslogtreecommitdiff
path: root/src/examples/theme_example_01.c
diff options
context:
space:
mode:
authorDaniel Juyung Seo <seojuyung2@gmail.com>2013-12-15 05:57:30 +0900
committerDaniel Juyung Seo <seojuyung2@gmail.com>2013-12-15 05:57:30 +0900
commit12fee9ce4be21ddf6437c20710a693c1b9d34e98 (patch)
treeacaa90ef2c55c7bd85cea74464f91f970c67d613 /src/examples/theme_example_01.c
parentfe0aa085f94682df6fa2d03b2b44157c6bbe828f (diff)
elm examples: call evas_object_show(win) after its content creation.
- refer commit 64fd5a825b24591aedb9cac695d03f5b4d867442 for the detail explanation. - also move evas_object_resize(win, xx) alongside evas_object_show(win).
Diffstat (limited to 'src/examples/theme_example_01.c')
-rw-r--r--src/examples/theme_example_01.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/examples/theme_example_01.c b/src/examples/theme_example_01.c
index b8013d3..026e31f 100644
--- a/src/examples/theme_example_01.c
+++ b/src/examples/theme_example_01.c
@@ -45,8 +45,6 @@ elm_main(int argc, char *argv[])
45 45
46 win = elm_win_util_standard_add("theme", "Theme example"); 46 win = elm_win_util_standard_add("theme", "Theme example");
47 elm_win_autodel_set(win, EINA_TRUE); 47 elm_win_autodel_set(win, EINA_TRUE);
48 evas_object_resize(win, 300, 320);
49 evas_object_show(win);
50 48
51 box = elm_box_add(win); 49 box = elm_box_add(win);
52 evas_object_size_hint_weight_set(box, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); 50 evas_object_size_hint_weight_set(box, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
@@ -66,6 +64,9 @@ elm_main(int argc, char *argv[])
66 evas_object_show(btn); 64 evas_object_show(btn);
67 evas_object_smart_callback_add(btn, "clicked", btn_style_click_cb, NULL); 65 evas_object_smart_callback_add(btn, "clicked", btn_style_click_cb, NULL);
68 66
67 evas_object_resize(win, 300, 320);
68 evas_object_show(win);
69
69 elm_run(); 70 elm_run();
70 elm_shutdown(); 71 elm_shutdown();
71 72