aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/elementary/src/bin/test_table.c
diff options
context:
space:
mode:
authorChristopher Michael <cpmichael1@comcast.net>2009-09-28 19:23:33 +0000
committerChristopher Michael <cpmichael1@comcast.net>2009-09-28 19:23:33 +0000
commit4edc6ac2991c43e94ae22c3a97ecaacd20182b47 (patch)
tree9176a1e26428f0fe9ebabac7413f7e26b7640915 /legacy/elementary/src/bin/test_table.c
parentMore EVAS_HINT_EXPAND fixes (diff)
downloadefl-4edc6ac2991c43e94ae22c3a97ecaacd20182b47.tar.gz
EVAS_HINT_EXPAND/EVAS_HINT_FILL changes in mass.
(Built and tested) SVN revision: 42779
Diffstat (limited to 'legacy/elementary/src/bin/test_table.c')
-rw-r--r--legacy/elementary/src/bin/test_table.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/legacy/elementary/src/bin/test_table.c b/legacy/elementary/src/bin/test_table.c
index a4339d708e..8ec607b030 100644
--- a/legacy/elementary/src/bin/test_table.c
+++ b/legacy/elementary/src/bin/test_table.c
@@ -10,54 +10,54 @@ test_table(void *data, Evas_Object *obj, void *event_info)
elm_win_autodel_set(win, 1);
bg = elm_bg_add(win);
- evas_object_size_hint_weight_set(bg, 1.0, 1.0);
+ evas_object_size_hint_weight_set(bg, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
elm_win_resize_object_add(win, bg);
evas_object_show(bg);
tb = elm_table_add(win);
elm_win_resize_object_add(win, tb);
- evas_object_size_hint_weight_set(tb, 1.0, 1.0);
+ evas_object_size_hint_weight_set(tb, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_show(tb);
bt = elm_button_add(win);
elm_button_label_set(bt, "Button 1");
- evas_object_size_hint_weight_set(bt, 1.0, 1.0);
- evas_object_size_hint_align_set(bt, -1.0, -1.0);
+ evas_object_size_hint_weight_set(bt, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
+ evas_object_size_hint_align_set(bt, EVAS_HINT_FILL, EVAS_HINT_FILL);
elm_table_pack(tb, bt, 0, 0, 1, 1);
evas_object_show(bt);
bt = elm_button_add(win);
elm_button_label_set(bt, "Button 2");
- evas_object_size_hint_weight_set(bt, 1.0, 1.0);
- evas_object_size_hint_align_set(bt, -1.0, -1.0);
+ evas_object_size_hint_weight_set(bt, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
+ evas_object_size_hint_align_set(bt, EVAS_HINT_FILL, EVAS_HINT_FILL);
elm_table_pack(tb, bt, 1, 0, 1, 1);
evas_object_show(bt);
bt = elm_button_add(win);
elm_button_label_set(bt, "Button 3");
- evas_object_size_hint_weight_set(bt, 1.0, 1.0);
- evas_object_size_hint_align_set(bt, -1.0, -1.0);
+ evas_object_size_hint_weight_set(bt, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
+ evas_object_size_hint_align_set(bt, EVAS_HINT_FILL, EVAS_HINT_FILL);
elm_table_pack(tb, bt, 2, 0, 1, 1);
evas_object_show(bt);
bt = elm_button_add(win);
elm_button_label_set(bt, "Button 4");
- evas_object_size_hint_weight_set(bt, 1.0, 1.0);
- evas_object_size_hint_align_set(bt, -1.0, -1.0);
+ evas_object_size_hint_weight_set(bt, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
+ evas_object_size_hint_align_set(bt, EVAS_HINT_FILL, EVAS_HINT_FILL);
elm_table_pack(tb, bt, 0, 1, 2, 1);
evas_object_show(bt);
bt = elm_button_add(win);
elm_button_label_set(bt, "Button 5");
- evas_object_size_hint_weight_set(bt, 1.0, 1.0);
- evas_object_size_hint_align_set(bt, -1.0, -1.0);
+ evas_object_size_hint_weight_set(bt, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
+ evas_object_size_hint_align_set(bt, EVAS_HINT_FILL, EVAS_HINT_FILL);
elm_table_pack(tb, bt, 2, 1, 1, 3);
evas_object_show(bt);
bt = elm_button_add(win);
elm_button_label_set(bt, "Button 6");
- evas_object_size_hint_weight_set(bt, 1.0, 1.0);
- evas_object_size_hint_align_set(bt, -1.0, -1.0);
+ evas_object_size_hint_weight_set(bt, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
+ evas_object_size_hint_align_set(bt, EVAS_HINT_FILL, EVAS_HINT_FILL);
elm_table_pack(tb, bt, 0, 2, 2, 2);
evas_object_show(bt);