CtxPopup: Fix for scroller position of horizontal ctxpopup in mirroring case 50/123450/4
authorGodly T.Alias <godlytalias@yahoo.co.in>
Wed, 5 Apr 2017 14:20:36 +0000 (19:50 +0530)
committerJinYong Park <j4939.park@samsung.com>
Thu, 6 Apr 2017 08:28:17 +0000 (17:28 +0900)
@tizen_fix

Change-Id: I245a74dd97a7e680d37edfb3852dbc8bd98e3237
Signed-off-by: Godly T.Alias <godlytalias@yahoo.co.in>
src/mobile_lib/elc_ctxpopup.c

index bbb25f8e285e4748695b02e9396f0ce86d51c581..7501b02bc4da31f579cd43b05acaaa8ceb30cab9 100644 (file)
@@ -841,6 +841,12 @@ _show_signals_emit(Evas_Object *obj,
 
    if (!sd->visible) return;
 
+   //FIXME : other widget which is affected by mirrored ui should check this problem.
+   /* TIZEN_ONLY(20170406): fix when mirrored ui is set, ctxpopup's scroller show left side edge not right */
+   if (sd->horizontal && elm_widget_mirrored_get(obj))
+     elm_scroller_page_show(sd->scr, 0, 0);
+   /* END */
+
    switch (dir)
      {
       case ELM_CTXPOPUP_DIRECTION_UP: