ummm dont set max based on max hint... this got added at some point

but it actually breaks older code that used these hints to store
sizing info but didnt expect it to be enforced.
This commit is contained in:
Carsten Haitzler 2013-04-23 00:05:59 +09:00
parent 6d54f4608d
commit 116013320a
1 changed files with 1 additions and 1 deletions

View File

@ -6287,10 +6287,10 @@ _edje_real_part_swallow_hints_update(Edje_Real_Part *rp)
edje_object_size_min_get(rp->typedata.swallow->swallowed_object, &w, &h);
rp->typedata.swallow->swallow_params.min.w = w;
rp->typedata.swallow->swallow_params.min.h = h;
#endif
edje_object_size_max_get(rp->typedata.swallow->swallowed_object, &w, &h);
rp->typedata.swallow->swallow_params.max.w = w;
rp->typedata.swallow->swallow_params.max.h = h;
#endif
}
else if (eo_isa(rp->typedata.swallow->swallowed_object, EVAS_OBJ_TEXT_CLASS) ||
eo_isa(rp->typedata.swallow->swallowed_object, EVAS_OBJ_POLYGON_CLASS) ||