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

Fixes #91 EntryAlignment bug on iPad #156

Merged
merged 3 commits into from
Nov 5, 2012

Conversation

gratner
Copy link
Contributor

@gratner gratner commented Nov 5, 2012

This finally fixes #91 EntryAlignment bug on iPad. It turns out that on new cell creation, the width value appears to be hardcoded at 320. The correct value is only recalculated on cell reuse. This causes the initial value for cell.ContentView.Bounds to return the wrong value. I wish there was a more elegant solution, but this does the trick for now.

…eation, the width value appears to be hardcoded at 320. The correct value is only recalculated on cell reuse. This causes the initial value for cell.ContentView.Bounds to return the wrong value. I wish there was a more elegant solution, but this does the trick for now.
migueldeicaza added a commit that referenced this pull request Nov 5, 2012
Fixes #91 EntryAlignment bug on iPad
@migueldeicaza migueldeicaza merged commit d930d72 into migueldeicaza:master Nov 5, 2012
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

Successfully merging this pull request may close these issues.

EntryAlignment bug on iPad
2 participants