EZLayout icon indicating copy to clipboard operation
EZLayout copied to clipboard

Prevent Misaligned frames

Open oferRounds opened this issue 8 years ago • 1 comments

What would be the right way to deal with this problem?

This when used in UITableViewCell.

For example, after using:

EZLayoutSize *size = [EZLayoutSize widthPercentage:0.77 scaleFactor:1.0];

I see later on that I get:

frame = (291.25 10; 72.1875 72.1875);

Another odd issue, still in this context, that I get doubled width in relate to height, although they should both be equal:

<UIImageView: 0x14f66e780; frame = (10 10; 61.6 30.8);

oferRounds avatar Jan 01 '16 09:01 oferRounds

Another interesting phenomenon is that After I scroll back and forth from this cell, everything seems to be ok.

oferRounds avatar Jan 01 '16 09:01 oferRounds