summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Juyung Seo <seojuyung2@gmail.com>2015-01-29 15:28:08 +0900
committerDaniel Juyung Seo <seojuyung2@gmail.com>2015-01-29 15:28:08 +0900
commit02c5580acdbb55659606625fb1dcc9c2e8ad3d60 (patch)
treef0da1fc8940c3c9ed3beb8ae20581b71f4067901
parent702dfa37573104ab994e34b0b21779dec7467282 (diff)
test_panes: Remove unnecessary align/weight set for panes contents.
-rw-r--r--src/bin/test_panes.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/bin/test_panes.c b/src/bin/test_panes.c
index d2a5169cd..bd5775a64 100644
--- a/src/bin/test_panes.c
+++ b/src/bin/test_panes.c
@@ -69,16 +69,12 @@ test_panes(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_inf
69 // add left button 69 // add left button
70 bt = elm_button_add(win); 70 bt = elm_button_add(win);
71 elm_object_text_set(bt, "Left"); 71 elm_object_text_set(bt, "Left");
72 evas_object_size_hint_weight_set(bt, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
73 evas_object_size_hint_align_set(bt, EVAS_HINT_FILL, EVAS_HINT_FILL);
74 evas_object_show(bt); 72 evas_object_show(bt);
75 elm_object_part_content_set(panes, "left", bt); 73 elm_object_part_content_set(panes, "left", bt);
76 74
77 // add panes 75 // add panes
78 panes_h = elm_panes_add(win); 76 panes_h = elm_panes_add(win);
79 elm_panes_horizontal_set(panes_h, EINA_TRUE); 77 elm_panes_horizontal_set(panes_h, EINA_TRUE);
80 evas_object_size_hint_weight_set(panes_h, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
81 evas_object_size_hint_align_set(panes_h, EVAS_HINT_FILL, EVAS_HINT_FILL);
82 evas_object_show(panes_h); 78 evas_object_show(panes_h);
83 79
84 evas_object_smart_callback_add(panes_h, "clicked", _clicked, panes_h); 80 evas_object_smart_callback_add(panes_h, "clicked", _clicked, panes_h);
@@ -91,16 +87,12 @@ test_panes(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_inf
91 // add up button 87 // add up button
92 bt = elm_button_add(win); 88 bt = elm_button_add(win);
93 elm_object_text_set(bt, "Up"); 89 elm_object_text_set(bt, "Up");
94 evas_object_size_hint_weight_set(bt, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
95 evas_object_size_hint_align_set(bt, EVAS_HINT_FILL, EVAS_HINT_FILL);
96 evas_object_show(bt); 90 evas_object_show(bt);
97 elm_object_part_content_set(panes_h, "top", bt); 91 elm_object_part_content_set(panes_h, "top", bt);
98 92
99 // add down button 93 // add down button
100 bt = elm_button_add(win); 94 bt = elm_button_add(win);
101 elm_object_text_set(bt, "Down"); 95 elm_object_text_set(bt, "Down");
102 evas_object_size_hint_weight_set(bt, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
103 evas_object_size_hint_align_set(bt, EVAS_HINT_FILL, EVAS_HINT_FILL);
104 evas_object_show(bt); 96 evas_object_show(bt);
105 elm_object_part_content_set(panes_h, "bottom", bt); 97 elm_object_part_content_set(panes_h, "bottom", bt);
106 98