elementary/ctxpopup - correct position and size of ctxpopup
authorChunEon Park <hermet@hermet.pe.kr>
Tue, 11 Sep 2012 10:29:48 +0000 (10:29 +0000)
committerChunEon Park <hermet@hermet.pe.kr>
Tue, 11 Sep 2012 10:29:48 +0000 (10:29 +0000)
Dear all,

With ctxpopup, if it has many items and user uses -1 as parameter in set direction priority function,
the ctxpopup position and size are calculated incorrectly.
Ex:
elm_ctxpopup_direction_priority_set(ctxpopup, ELM_CTXPOPUP_DIRECTION_DOWN, ELM_CTXPOPUP_DIRECTION_UP, -1, -1);

I would like to send a small patch to fix this issue.
Please take a look on it.

Thanks & Regards,
Thiep Ha

Signed-Off-By: Thiep ha<thiep.ha@samsung.com>
SVN revision: 76452

src/lib/elc_ctxpopup.c

index 8125aa0..b307da5 100644 (file)
@@ -200,7 +200,7 @@ _base_geometry_calc(Evas_Object *obj,
              break;
 
            default:
-             break;
+             continue;
           }
         break;
      }