summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2017-08-04 16:17:53 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2017-08-04 16:17:33 -0400
commitbaf511a47e8ab5e08c21638a36c5125743b82765 (patch)
treeb615acc7e8c43d6b14705a821255a653d8e999bf /src/bin
parentbe20f7d96c4bc2d4c9a9f5dc6dbc754d0aafa881 (diff)
efl-wl: set minmax for test app
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/efl_wl/efl_wl_test.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/bin/efl_wl/efl_wl_test.c b/src/bin/efl_wl/efl_wl_test.c
index faa4b41ae6..bf5b2ad4d1 100644
--- a/src/bin/efl_wl/efl_wl_test.c
+++ b/src/bin/efl_wl/efl_wl_test.c
@@ -38,6 +38,10 @@ hints_changed(void *data, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_inf
38 38
39 evas_object_size_hint_aspect_get(obj, &aspect, &w, &h); 39 evas_object_size_hint_aspect_get(obj, &aspect, &w, &h);
40 evas_object_size_hint_aspect_set(data, aspect, w, h); 40 evas_object_size_hint_aspect_set(data, aspect, w, h);
41 evas_object_size_hint_min_get(obj, &w, &h);
42 evas_object_size_hint_min_set(data, w, h);
43 evas_object_size_hint_max_get(obj, &w, &h);
44 evas_object_size_hint_max_set(data, w, h);
41} 45}
42 46
43int 47int
@@ -61,6 +65,7 @@ main(int argc, char *argv[])
61 65
62 o = efl_wl_add(evas_object_evas_get(win)); 66 o = efl_wl_add(evas_object_evas_get(win));
63 efl_wl_aspect_set(o, 1); 67 efl_wl_aspect_set(o, 1);
68 efl_wl_minmax_set(o, 1);
64 evas_object_size_hint_align_set(o, EVAS_HINT_FILL, EVAS_HINT_FILL); 69 evas_object_size_hint_align_set(o, EVAS_HINT_FILL, EVAS_HINT_FILL);
65 evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); 70 evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
66 evas_object_event_callback_add(o, EVAS_CALLBACK_CHANGED_SIZE_HINTS, hints_changed, win); 71 evas_object_event_callback_add(o, EVAS_CALLBACK_CHANGED_SIZE_HINTS, hints_changed, win);