ProMotion-XLForm
ProMotion-XLForm copied to clipboard
Table cell constraints working at first then failing.
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?