[elm_gengrid] fix video bookmark icon position problem
authorSeunggyun Kim <sgyun.kim@samsung.com>
Tue, 9 Apr 2013 07:40:51 +0000 (16:40 +0900)
committerSungho Kwak <sungho1.kwak@samsung.com>
Wed, 10 Apr 2013 10:56:03 +0000 (19:56 +0900)
Change-Id: I27a6ccb4d8bbb256f8c89cf1df1e46ba00a04f4f

src/lib/elm_gengrid.c

index 663fb43..1449b09 100644 (file)
@@ -1006,6 +1006,9 @@ _item_place(Elm_Gen_Item *it,
 
    it->x = cx;
    it->y = cy;
+   if (wsd->horizontal) it->position = cx;
+   else it->position = cy;
+
    evas_object_geometry_get(wsd->pan_obj, &ox, &oy, &vw, &vh);
 
    /* Preload rows/columns at each side of the Gengrid */