* Add Feature: Support explicit shadow direction with extra effect
param (optional). Default as before.
+2011-04-28 Tom Hacohen (TAsn)
+
+ * size_min_restricted_calc: Fixed textblock handling.
+
{
if (!ep->chosen_description->fixed.w)
{
+ if ((ep->part->type == EDJE_PART_TYPE_TEXTBLOCK))
+ {
+ Evas_Coord tb_mw;
+ evas_object_textblock_size_formatted_get(ep->object,
+ &tb_mw, NULL);
+ tb_mw -= ep->req.w;
+ if (tb_mw > w)
+ {
+ w = tb_mw;
+ }
+ }
if (w > maxw)
{
maxw = w;
pep = ep;
didw = 1;
}
- if ((ep->part->type == EDJE_PART_TYPE_TEXTBLOCK))
- {
- /* FIXME: do something */
- }
}
if (!ep->chosen_description->fixed.h)
{