From 7ee4943ec74e51e8d8dba65fcf7b224ca74aaa29 Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Fri, 16 May 2014 19:04:37 +0900 Subject: [PATCH] cursor test - make button expand to test window edges with cursor --- src/bin/test_cursor.c | 2 ++ 1 file changed, 2 insertions(+) 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"); -- 2.7.4