Fixed the popup to fit the full screen width 39/110339/1 accepted/tizen/common/20170201.171557 accepted/tizen/ivi/20170201.090029 accepted/tizen/mobile/20170201.085943 accepted/tizen/tv/20170201.085955 accepted/tizen/unified/20170309.031129 submit/tizen/20170201.015422 submit/tizen_unified/20170308.100403
authorSeonah Moon <seonah1.moon@samsung.com>
Mon, 16 Jan 2017 04:26:29 +0000 (13:26 +0900)
committerSeonah Moon <seonah1.moon@samsung.com>
Mon, 16 Jan 2017 04:27:28 +0000 (13:27 +0900)
Change-Id: Icaef9d9dee0e0c9726a74be4105926249e3b06e5
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
packaging/ug-setting-mobileap-efl.spec
src/mh_popup.c

index 9e0fc89..84c5ff3 100755 (executable)
@@ -3,7 +3,7 @@
 
 Name:          ug-setting-mobileap-efl
 Summary:       Tethering UI Gadget Library
-Version:       1.0.158
+Version:       1.0.159
 Release:       1
 Group:         App/Network
 License:       Flora-1.1
index 397474b..6816988 100755 (executable)
@@ -556,6 +556,7 @@ Eina_Bool _create_popup(mh_appdata_t *ad)
 
        case MH_POPUP_WIFI_OFF:
                popup = elm_popup_add(ad->win);
+               elm_popup_align_set(popup, ELM_NOTIFY_ALIGN_FILL, 1.0);
                ad->popup = popup;
 
                elm_object_domain_translatable_part_text_set(popup, "title,text", PACKAGE,
@@ -591,6 +592,7 @@ Eina_Bool _create_popup(mh_appdata_t *ad)
        case MH_POPUP_FLIGHT_MODE:
        case MH_POPUP_NETWORK_OUT_OF_RANGE:
                popup = elm_popup_add(ad->win);
+               elm_popup_align_set(popup, ELM_NOTIFY_ALIGN_FILL, 1.0);
                ad->popup = popup;
                evas_object_size_hint_weight_set(popup, EVAS_HINT_EXPAND,
                                EVAS_HINT_EXPAND);
@@ -618,6 +620,7 @@ Eina_Bool _create_popup(mh_appdata_t *ad)
 
        case MH_POPUP_MOBILE_DATA_OFF:
                popup = elm_popup_add(ad->win);
+               elm_popup_align_set(popup, ELM_NOTIFY_ALIGN_FILL, 1.0);
                ad->popup = popup;
                evas_object_size_hint_weight_set(popup, EVAS_HINT_EXPAND,
                                EVAS_HINT_EXPAND);
@@ -647,6 +650,7 @@ Eina_Bool _create_popup(mh_appdata_t *ad)
 
        case MH_POPUP_WIFI_AP_OFF:
                popup = elm_popup_add(ad->win);
+               elm_popup_align_set(popup, ELM_NOTIFY_ALIGN_FILL, 1.0);
                ad->popup = popup;
                evas_object_size_hint_weight_set(popup,
                                EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);