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

Table cell constraints working at first then failing. #34

Open
nathanbrakken opened this issue Jan 7, 2016 · 0 comments
Open

Table cell constraints working at first then failing. #34

nathanbrakken opened this issue Jan 7, 2016 · 0 comments

Comments

@nathanbrakken
Copy link
Contributor

I'm using MotionKit to style some of my form cells for constraints, it appears to work on load, the cell grows and shrinks with the text.

Once I scroll, however, I get a warning:

 Warning once only: Detected a case where constraints ambiguously suggest a height of zero for a tableview cell's content view. We're considering the collapse unintentional and using standard height instead.

I know that PM::TableScreen has the ability to set the estimated row height with:

  row_height :auto, estimated: 100

but I get this error when I add the code:

 undefined method `row_height:estimated:' for FormScreen::Class (NoMethodError)

Any ideas on how to get this to work with my form?

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