From: Juan Zhao <[email protected]>
On wayland, elementary_test couldn't be maximised.
It's because of the clock window's weight is 0.
We should set its weight in the application side.
---
trunk/elementary/src/bin/test_clock.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/trunk/elementary/src/bin/test_clock.c
b/trunk/elementary/src/bin/test_clock.c
index 6e28d21..ebbc096 100644
--- a/trunk/elementary/src/bin/test_clock.c
+++ b/trunk/elementary/src/bin/test_clock.c
@@ -111,6 +111,7 @@ test_clock(void *data __UNUSED__, Evas_Object *obj
__UNUSED__, void *event_info
bx = elm_box_add(win);
elm_win_resize_object_add(win, bx);
+ evas_object_size_hint_weight_set(bx, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
api->box = bx;
evas_object_show(bx);
--
1.7.5.4
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel