summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Hollerbach <marcel-hollerbach@t-online.de>2015-07-26 19:05:48 +0200
committerMarcel Hollerbach <marcel-hollerbach@t-online.de>2015-07-26 19:05:48 +0200
commit81738f3ba4edf7d37c2ecf96036c5e9c2a212414 (patch)
tree3d8a9b8311f64eee8627ee538f7fd861e6f38dc5
parent117824338ded2e5554be11623ef06fcc2b3320e1 (diff)
test: be nicer
-rw-r--r--src/test/list/list.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/test/list/list.c b/src/test/list/list.c
index 92084a8..9920715 100644
--- a/src/test/list/list.c
+++ b/src/test/list/list.c
@@ -98,6 +98,7 @@ elm_main(int argc EINA_UNUSED, char **argv EINA_UNUSED)
98 elm_box_pack_end(bx, list); 98 elm_box_pack_end(bx, list);
99 99
100 toolbox = elm_box_add(win); 100 toolbox = elm_box_add(win);
101 elm_box_horizontal_set(toolbox, EINA_TRUE);
101 evas_object_size_hint_weight_set(toolbox, EVAS_HINT_EXPAND, 0); 102 evas_object_size_hint_weight_set(toolbox, EVAS_HINT_EXPAND, 0);
102 evas_object_size_hint_align_set(toolbox, EVAS_HINT_FILL, 0); 103 evas_object_size_hint_align_set(toolbox, EVAS_HINT_FILL, 0);
103 evas_object_show(toolbox); 104 evas_object_show(toolbox);
@@ -107,20 +108,20 @@ elm_main(int argc EINA_UNUSED, char **argv EINA_UNUSED)
107 elm_object_text_set(o, "Long time realize"); 108 elm_object_text_set(o, "Long time realize");
108 elm_check_state_pointer_set(o, &pause_realize); 109 elm_check_state_pointer_set(o, &pause_realize);
109 evas_object_show(o); 110 evas_object_show(o);
110 elm_box_pack_end(bx, o); 111 elm_box_pack_end(toolbox, o);
111 112
112 spinner = o = elm_spinner_add(toolbox); 113 spinner = o = elm_spinner_add(toolbox);
113 elm_spinner_value_set(o, 20); 114 elm_spinner_value_set(o, 20);
114 elm_spinner_min_max_set(o, 1, 10000); 115 elm_spinner_min_max_set(o, 1, 10000);
115 elm_spinner_editable_set(o, EINA_TRUE); 116 elm_spinner_editable_set(o, EINA_TRUE);
116 evas_object_show(o); 117 evas_object_show(o);
117 elm_box_pack_end(bx, o); 118 elm_box_pack_end(toolbox, o);
118 119
119 o = elm_button_add(toolbox); 120 o = elm_button_add(toolbox);
120 elm_object_text_set(o, "Add"); 121 elm_object_text_set(o, "Add");
121 evas_object_show(o); 122 evas_object_show(o);
122 evas_object_smart_callback_add(o, "clicked", on_click, list); 123 evas_object_smart_callback_add(o, "clicked", on_click, list);
123 elm_box_pack_end(bx, o); 124 elm_box_pack_end(toolbox, o);
124 125
125 elm_win_resize_object_add(win, bx); 126 elm_win_resize_object_add(win, bx);
126 evas_object_resize(win, 200,200); 127 evas_object_resize(win, 200,200);