Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent Misaligned frames #2

Open
oferRounds opened this issue Jan 1, 2016 · 1 comment
Open

Prevent Misaligned frames #2

oferRounds opened this issue Jan 1, 2016 · 1 comment

Comments

@oferRounds
Copy link

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant