forked from enlightenment/efl
edje - fix min size calc after being broken by previous commit
37b55172b0
breaks min size calc. elm
toolbar was being squashed. e toolbars also were becoming 0 sized.
Just because a swallow does not have content does not mean it does not
affect the minimum size. there still could be a min size set on it
anyway etc. ...
This commit is contained in:
parent
0ecbb416ad
commit
2ca6c301e4
|
@ -989,12 +989,6 @@ _edje_recalc_table_parts(Edje *ed
|
||||||
{
|
{
|
||||||
ep = ed->table_parts[i];
|
ep = ed->table_parts[i];
|
||||||
|
|
||||||
//Ignore if the real part doesn't have swallowed object
|
|
||||||
if ((ep->part->type == EDJE_PART_TYPE_SWALLOW) &&
|
|
||||||
(ep->typedata.swallow) &&
|
|
||||||
(!ep->typedata.swallow->swallowed_object))
|
|
||||||
continue;
|
|
||||||
|
|
||||||
if (ep->calculated != FLAG_XY) // FIXME: this is always true (see for above)
|
if (ep->calculated != FLAG_XY) // FIXME: this is always true (see for above)
|
||||||
_edje_part_recalc(ed, ep, (~ep->calculated) & FLAG_XY, NULL);
|
_edje_part_recalc(ed, ep, (~ep->calculated) & FLAG_XY, NULL);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue