[TIMOB-19357] iOS: Add Ellipsize support for AttributedString
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2015-08-25T15:06:24.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 5.0.0 |
Components | iOS |
Labels | attributedString |
Reporter | Chee Kiat Ng |
Assignee | Eric Merriman |
Created | 2015-08-17T04:58:52.000+0000 |
Updated | 2017-03-21T19:26:57.000+0000 |
Description
Refer to this link http://iosdevelopertips.com/user-interface/truncate-string-adding-ellipsis-at-front-middle-or-end.html
Android and mobileweb support the ellipsize property of Ti.UI.Label directly, without having to use the AttributedString property. Please add support for ellipsize under iOS as well, as requested in TIMOB-13398, which was resolved as a duplicate of this ticket. I don't really think these are exact duplicates.
May I suggest that closing an old ticket for a duplucate is not the most helpful thing. All the old history / suggestions and watchers are on the older ticket number
^ I agree. The old ticket was not an exact duplicate anyway. I think it should be reopened.
PR here: https://github.com/appcelerator/titanium_mobile/pull/7062
[~cng] Can you provide demo code?
Sample code here:
PR approved & merged!
Closing ticket as fixed.