[TIMOB-24742] iOS: Ti.UI.Label are ellipsized by default, causing layout issues (Regression)
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2017-05-31T09:10:06.000+0000 |
Affected Version/s | Release 6.1.0 |
Fix Version/s | n/a |
Components | iOS |
Labels | ellipsize, label, regression |
Reporter | Hans Knöchel |
Assignee | Hans Knöchel |
Created | 2017-05-29T11:17:35.000+0000 |
Updated | 2017-06-01T18:03:43.000+0000 |
Description
Reported via [~rdperottoni] on Slack:
{quote}
All my multi line labels on iOS are now with ellipsized and I need to specify
maxLines
for it to go back to normal. Anyone else with this issue ? [...] I believe this should be marked as a breaking update since now I'll have to update all my labels to have a set amount of lines. Also, the documentation should be updated since it says this property is not available on iOS.
{quote}
It was likely caused by TIMOB-24071, the expected behavior would be that the developer does not need to specify a maxLines
property to display the label. Regarding the docs, it [works for me](http://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.Label-property-maxLines) and displays the correct since/platform keys.
Attachments
File | Date | Size |
---|---|---|
6_0_X-50.png | 2017-05-30T20:44:20.000+0000 | 30078 |
6_0_X-size.png | 2017-05-30T20:44:21.000+0000 | 35270 |
6_1_X-50.png | 2017-05-30T20:44:21.000+0000 | 30607 |
6_1_X-size.png | 2017-05-30T20:44:21.000+0000 | 35758 |
[~rdperottoni] I am unable to reproduce this issue with the following demo-code (both
height: 50
and auto-sized):See the 4 screens attached (6_1_X and 6_0_X with a specified height and auto-sized height). Both look like the same between the different SDK versions. If you can, please paste a small test-case here that reproduces the issue, thank you!
Resolving as
Invalid
as communicated with [~rdperottoni]. It was a global layout setting that caused this issue.Closing as such.