Inserting WKInterfaceTable rows with multi-line labels can have the wrong height
| Originator: | christian.noon | ||
| Number: | rdar://19839694 | Date Originated: | 14-Feb-2015 09:50 PM |
| Status: | Open | Resolved: | |
| Product: | Developer Tools | Product Version: | Xcode 6.2 Beta 5 |
| Classification: | Serious Bug | Reproducible: | Always |
Summary: I created a sample project that demonstrates the bug. I am seeing incorrect height calculations for newly inserted cells when using multi-line labels in a row controller. Case 1 I have a label with lines = 2, and the default text in the storyboard stretches across two lines. When I insert a new row with text that fits on a single line, I will see a gap between the new cell and the one below it. See Gap_ScreenShot.png attached. Case 2 I have a label with lines = 2, and the default text in the storyboard is on a single line. When I insert a new row with text that stretches across 2 lines, the new row will overlap the row below it. See Overlap_ScreenShot.png attached. Steps to Reproduce: Case 1 will run by default. To run Case 2, shorten the label text in the storyboard to fit on a single line. Version: Xcode 6.2 Beta 5
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!