From cd9bd204e767ff6abcc80415a75c2b51d3bd00b8 Mon Sep 17 00:00:00 2001 From: Yu Jiung Date: Mon, 11 Apr 2016 20:28:42 +0900 Subject: [PATCH] Make conformant expand EVAS_HINT_EXPAND instead of 0 Description: Notice that the window can get resized to the current size of the object if the EVAS_HINT_EXPAND is set after the call to elm_win_resize_object_add(). Change-Id: I106e2e3037eabded98d14c10ea195005a7e660c0 Signed-off-by: Yu jiung --- packaging/ug-setting-wifidirect-efl.spec | 2 +- popup-wifidirect/src/wfd-app-main.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packaging/ug-setting-wifidirect-efl.spec b/packaging/ug-setting-wifidirect-efl.spec index 31e2985..3fd62f7 100644 --- a/packaging/ug-setting-wifidirect-efl.spec +++ b/packaging/ug-setting-wifidirect-efl.spec @@ -1,6 +1,6 @@ Name: ug-setting-wifidirect-efl Summary: Wi-Fi Direct setting UI gadget -Version: 1.11.72 +Version: 1.11.73 Release: 1 Group: Applications/Network License: Flora-1.1 diff --git a/popup-wifidirect/src/wfd-app-main.c b/popup-wifidirect/src/wfd-app-main.c index 8c1b477..2aba656 100644 --- a/popup-wifidirect/src/wfd-app-main.c +++ b/popup-wifidirect/src/wfd-app-main.c @@ -102,7 +102,7 @@ static bool _app_create(void *data) assertm_if(NULL == ad->conformant, "conformant is NULL!!"); elm_win_conformant_set(ad->win, EINA_TRUE); elm_win_resize_object_add(ad->win, ad->conformant); - evas_object_size_hint_weight_set(ad->conformant, EVAS_HINT_EXPAND, 0.0); + evas_object_size_hint_weight_set(ad->conformant, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); evas_object_size_hint_align_set(ad->conformant, EVAS_HINT_FILL, 0.0); evas_object_show(ad->conformant); -- 2.7.4