common: fix popup alignment 26/219326/1
authorLukasz Stanislawski <l.stanislaws@samsung.com>
Wed, 4 Dec 2019 08:57:31 +0000 (09:57 +0100)
committerLukasz Stanislawski <l.stanislaws@samsung.com>
Wed, 4 Dec 2019 08:57:31 +0000 (09:57 +0100)
This seems UI FW bug, however it can be solved on application side.
Having FILL in popup alignment currently is causing the popup internals
to be display out-of-bounds of container popup.
Setting align to 0.5 fix this bug and popup is displayed well.

Change-Id: I157b05745510204c303707e87b6d026b70788f14

setting-common/src/setting-common-draw-popup.c

index 6200d857f7955cf7d288f779e3ee7ccd9977abe9..8df037abcab10483412ce8dbe23b7397844b760e 100755 (executable)
@@ -373,7 +373,7 @@ Evas_Object *setting_create_popup(void *data, Evas_Object *parent,
        SETTING_TRACE_BEGIN;
 
        Evas_Object *popup = elm_popup_add(parent);
-       elm_popup_align_set(popup, ELM_NOTIFY_ALIGN_FILL, 1.0);
+       elm_popup_align_set(popup, 0.5, 1.0);
        evas_object_size_hint_weight_set(popup, EVAS_HINT_EXPAND,
                        EVAS_HINT_EXPAND);