WatchKit: label cut off when using adjustment
| Originator: | futuretap | ||
| Number: | rdar://19235373 | Date Originated: | 12-Dec-2014 08:25 PM |
| Status: | Duplicate/19236562/Open | Resolved: | |
| Product: | iOS SDK | Product Version: | 8.2 beta 2 |
| Classification: | UI/Usability | Reproducible: | Always |
Summary: When using a multiline WKInterfaceLabel with Width = “Relative to Container” and a negative adjustment and Height = “Size to Fit Content”, the label is cut off if the adjustment is large enough. Steps to Reproduce: Run the attached sample. Expected Results: The label height should be large enough to fit the content. Actual Results: The label height is not large enough to fit the content and the text is truncated. Notes: The main use case for such a layout would be to position an image to the left of a multiline label. Of course I could define a fixed size for the label but then I can’t make use of the larger screen of the 42 mm watch (or would have to calculate the width at runtime which is even more inconvenient).
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!