summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Juyung Seo <seojuyung2@gmail.com>2014-11-09 16:04:56 +0900
committerDaniel Juyung Seo <seojuyung2@gmail.com>2014-11-09 16:05:01 +0900
commitd16ce50bf7bc398df4b8ed15248cf46747f97c54 (patch)
tree5a789ca8dceab858c8d5911ace7f9a8e4c782a3b
parenta99a4bf760546c381cb34dda42098acec0e36798 (diff)
test_box: Remove unnecessary object resize.
- Do not resize window's resize object manually. - Do not resize box's children objects manually.
-rw-r--r--src/bin/test_box.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/bin/test_box.c b/src/bin/test_box.c
index e2da36efa..bbc7f4151 100644
--- a/src/bin/test_box.c
+++ b/src/bin/test_box.c
@@ -654,7 +654,6 @@ test_box_transition(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *
654 evas_object_size_hint_align_set(bt, EVAS_HINT_FILL, EVAS_HINT_FILL); 654 evas_object_size_hint_align_set(bt, EVAS_HINT_FILL, EVAS_HINT_FILL);
655 evas_object_smart_callback_add(bt, "clicked", _del_cb, bx); 655 evas_object_smart_callback_add(bt, "clicked", _del_cb, bx);
656 elm_box_pack_end(bx, bt); 656 elm_box_pack_end(bx, bt);
657 evas_object_resize(bt, 100, 100);
658 evas_object_show(bt); 657 evas_object_show(bt);
659 658
660 bt = elm_button_add(win); 659 bt = elm_button_add(win);
@@ -663,7 +662,6 @@ test_box_transition(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *
663 evas_object_size_hint_align_set(bt, EVAS_HINT_FILL, EVAS_HINT_FILL); 662 evas_object_size_hint_align_set(bt, EVAS_HINT_FILL, EVAS_HINT_FILL);
664 evas_object_smart_callback_add(bt, "clicked", _del_cb, bx); 663 evas_object_smart_callback_add(bt, "clicked", _del_cb, bx);
665 elm_box_pack_end(bx, bt); 664 elm_box_pack_end(bx, bt);
666 evas_object_resize(bt, 100, 100);
667 evas_object_show(bt); 665 evas_object_show(bt);
668 666
669 bt = elm_button_add(win); 667 bt = elm_button_add(win);
@@ -672,7 +670,6 @@ test_box_transition(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *
672 evas_object_size_hint_align_set(bt, EVAS_HINT_FILL, EVAS_HINT_FILL); 670 evas_object_size_hint_align_set(bt, EVAS_HINT_FILL, EVAS_HINT_FILL);
673 evas_object_smart_callback_add(bt, "clicked", _del_cb, bx); 671 evas_object_smart_callback_add(bt, "clicked", _del_cb, bx);
674 elm_box_pack_end(bx, bt); 672 elm_box_pack_end(bx, bt);
675 evas_object_resize(bt, 100, 100);
676 evas_object_show(bt); 673 evas_object_show(bt);
677 674
678 tdata = calloc(1, sizeof(Transitions_Data)); 675 tdata = calloc(1, sizeof(Transitions_Data));
@@ -695,7 +692,6 @@ test_box_transition(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *
695 tdata->transitions = eina_list_append(tdata->transitions, 692 tdata->transitions = eina_list_append(tdata->transitions,
696 evas_object_box_layout_stack); 693 evas_object_box_layout_stack);
697 694
698 evas_object_resize(bx, 300, 300);
699 evas_object_smart_callback_add(win, "delete,request", _win_del, tdata); 695 evas_object_smart_callback_add(win, "delete,request", _win_del, tdata);
700 elm_box_layout_set(bx, evas_object_box_layout_horizontal, NULL, NULL); 696 elm_box_layout_set(bx, evas_object_box_layout_horizontal, NULL, NULL);
701 _test_box_transition_change(tdata); 697 _test_box_transition_change(tdata);