[TIMOB-1129] Android: Label doesn't appear multiline in scrollview
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:55:17.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.4.0 |
Components | Android |
Labels | android, defect |
Reporter | Don Thorp |
Assignee | Don Thorp |
Created | 2011-04-15T02:44:50.000+0000 |
Updated | 2011-04-17T01:55:17.000+0000 |
Description
Need to inform the label to be multiline when it has a constrained width and an unconstrained height. The view itself will size correctly, but it doesn't draw the text w/o saying it's multiline.
(from [3133b9390d5f04bc23dc52ce5949854b3f23b5e3]) [#1129 state:resolved] When you set the multiline flag you've also got to set the input type to text as well. Setting setSingleLine(false) was not sufficient to get it to draw/measure the text wrapping. http://github.com/appcelerator/titanium_mobile/commit/3133b9390d5f04bc23dc52ce5949854b3f23b5e3"> http://github.com/appcelerator/titanium_mobile/commit/3133b9390d5f0...