From: Carsten Haitzler (Rasterman) Date: Fri, 16 May 2014 10:04:37 +0000 (+0900) Subject: cursor test - make button expand to test window edges with cursor X-Git-Tag: v1.10.0-beta3~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7ee4943ec74e51e8d8dba65fcf7b224ca74aaa29;p=platform%2Fupstream%2Felementary.git cursor test - make button expand to test window edges with cursor --- diff --git a/src/bin/test_cursor.c b/src/bin/test_cursor.c index 499e9d5..04f3b87 100644 --- a/src/bin/test_cursor.c +++ b/src/bin/test_cursor.c @@ -298,6 +298,8 @@ test_cursor3(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_i evas_object_show(bx); o = elm_button_add(win); + evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, 0); + evas_object_size_hint_fill_set(o, EVAS_HINT_FILL, EVAS_HINT_FILL); elm_object_cursor_set(o, ELM_CURSOR_HAND1); elm_object_cursor_theme_search_enabled_set(o, EINA_TRUE); elm_object_text_set(o, "hand1");