fix edje smart move to update extra objs for entry.
authorraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 17 Oct 2008 14:39:47 +0000 (14:39 +0000)
committerraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 17 Oct 2008 14:39:47 +0000 (14:39 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@36753 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/edje_calc.c
src/lib/edje_smart.c

index 7ae43ec..6183cdc 100644 (file)
@@ -1582,9 +1582,9 @@ _edje_part_recalc(Edje *ed, Edje_Real_Part *ep, int flags)
 //                                pf->color.a);
             if (pf->visible)
               {
-                 evas_object_show(ep->swallowed_object);
                  evas_object_move(ep->swallowed_object, ed->x + pf->x, ed->y + pf->y);
                  evas_object_resize(ep->swallowed_object, pf->w, pf->h);
+                 evas_object_show(ep->swallowed_object);
               }
             else
               evas_object_hide(ep->swallowed_object);
index 73dacda..a66be7c 100644 (file)
@@ -126,6 +126,8 @@ _edje_smart_move(Evas_Object * obj, Evas_Coord x, Evas_Coord y)
        ep = ed->table_parts[i];
        evas_object_geometry_get(ep->object, &ox, &oy, NULL, NULL);
        evas_object_move(ep->object, ed->x + ep->x + ep->offset.x, ed->y + ep->y +ep->offset.y);
+       if (ep->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE)
+         _edje_entry_real_part_configure(ep);
        if (ep->swallowed_object)
          {
             evas_object_geometry_get(ep->swallowed_object, &ox, &oy, NULL, NULL);