Change position of popup menu in storage:misc 47/244047/1 accepted/tizen/unified/20200915.064849 submit/tizen/20200915.021507
authorKiseok Chang <kiso.chang@samsung.com>
Mon, 14 Sep 2020 08:58:23 +0000 (17:58 +0900)
committerKiseok Chang <kiso.chang@samsung.com>
Mon, 14 Sep 2020 09:00:02 +0000 (18:00 +0900)
- move popup menu below more button

Change-Id: Iececde95957b48dc21247dce80ad8f1e79f186d5
Signed-off-by: Kiseok Chang <kiso.chang@samsung.com>
setting-storage/src/setting-storage-miscellaneous.c

index 62ef97f571870f80cdf0bcb58492fc50e11377db..2183970ebc4ec3520b59e6652197df11770c06f6 100755 (executable)
@@ -198,10 +198,13 @@ static void __create_more_main_menu(SettingStorage *ad)
 static void __show_more_menu_cb(void *data, Evas_Object *obj,
                void *event_info)
 {
+       int y;
        SettingStorage *ad = (SettingStorage *)data;
 
        ret_if(!ad || ad->select_mode);
 
+       evas_object_geometry_get(ad->md.genlist, NULL, &y, NULL, NULL);
+       evas_object_move(ad->main_menu_popup, 1280, y);
        evas_object_show(ad->main_menu_popup);
 }