aboutsummaryrefslogtreecommitdiffstats
path: root/legacy
diff options
context:
space:
mode:
authorDaniel Zaoui <daniel.zaoui@samsung.com>2016-03-22 13:09:27 +0200
committerDaniel Zaoui <daniel.zaoui@samsung.com>2016-03-22 13:10:08 +0200
commit3642ac66f667123bdccb01227d1ffb217f9230d2 (patch)
tree4bd77e1862ae13d11ce5ad137e7e8ab6601b460a /legacy
parentLabel: adapt slide test to fit Exactness requirements (diff)
downloadefl-3642ac66f667123bdccb01227d1ffb217f9230d2.tar.gz
Panes: adapt test to for more API coverage
Diffstat (limited to 'legacy')
-rw-r--r--legacy/elementary/src/bin/test_panes.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/legacy/elementary/src/bin/test_panes.c b/legacy/elementary/src/bin/test_panes.c
index bd5775a64a..27d9535045 100644
--- a/legacy/elementary/src/bin/test_panes.c
+++ b/legacy/elementary/src/bin/test_panes.c
@@ -57,6 +57,8 @@ test_panes(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_inf
panes = elm_panes_add(win);
evas_object_size_hint_weight_set(panes, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
+ elm_panes_content_left_min_size_set(panes, 100);
+ elm_panes_content_left_size_set(panes, 0.7);
elm_win_resize_object_add(win, panes);
evas_object_show(panes);
@@ -68,13 +70,15 @@ test_panes(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_inf
// add left button
bt = elm_button_add(win);
- elm_object_text_set(bt, "Left");
+ elm_object_text_set(bt, "Left - min size 100 - size 70%");
evas_object_show(bt);
elm_object_part_content_set(panes, "left", bt);
// add panes
panes_h = elm_panes_add(win);
elm_panes_horizontal_set(panes_h, EINA_TRUE);
+ elm_panes_content_right_min_size_set(panes_h, 100);
+ elm_panes_content_right_size_set(panes_h, 0.3);
evas_object_show(panes_h);
evas_object_smart_callback_add(panes_h, "clicked", _clicked, panes_h);
@@ -92,7 +96,7 @@ test_panes(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_inf
// add down button
bt = elm_button_add(win);
- elm_object_text_set(bt, "Down");
+ elm_object_text_set(bt, "Down - min size 100 size 30%");
evas_object_show(bt);
elm_object_part_content_set(panes_h, "bottom", bt);