summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
authorWonki Kim <wonki_.kim@samsung.com>2019-09-21 04:28:24 +0000
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2019-09-23 10:44:33 +0200
commitfe8715e9f6082da8c6b6e65b8c944b80730b8d4e (patch)
tree7558fd6200ecf4f705f4185c952da61ed2d5c2e3 /src/bin
parent654e783d28b1a13fd4cf08f5ef0d4a5b171d3a39 (diff)
test: Add a logic to check a size of Check
If I pack a check without any api calls into a box, then it doesn't have the hint_min size which is defined on check edc. I guess there are problems on sizing logic currently, so this patch helps people to test the problem. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D10038
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/elementary/test_check.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/bin/elementary/test_check.c b/src/bin/elementary/test_check.c
index 9633f14..40ca00d 100644
--- a/src/bin/elementary/test_check.c
+++ b/src/bin/elementary/test_check.c
@@ -117,6 +117,10 @@ test_check(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_inf
117 117
118 ck = elm_check_add(win); 118 ck = elm_check_add(win);
119 elm_box_pack_end(bx, ck); 119 elm_box_pack_end(bx, ck);
120 evas_object_show(ck);
121
122 ck = elm_check_add(win);
123 elm_box_pack_end(bx, ck);
120 elm_object_text_set(ck, "text is visible when check state is true."); 124 elm_object_text_set(ck, "text is visible when check state is true.");
121 elm_check_state_set(ck, EINA_TRUE); 125 elm_check_state_set(ck, EINA_TRUE);
122 evas_object_show(ck); 126 evas_object_show(ck);