ummm dont set max based on max hint... this got added at some point
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>
Mon, 22 Apr 2013 15:05:59 +0000 (00:05 +0900)
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>
Mon, 22 Apr 2013 15:08:19 +0000 (00:08 +0900)
but it actually breaks older code that used these hints to store
sizing info but didnt expect it to be enforced.

src/lib/edje/edje_util.c

index 27539da..a61010b 100644 (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) ||