Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-1129] Android: Label doesn't appear multiline in scrollview

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:55:17.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.4.0
ComponentsAndroid
Labelsandroid, defect
ReporterDon Thorp
AssigneeDon Thorp
Created2011-04-15T02:44:50.000+0000
Updated2011-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.

Comments

  1. Don Thorp 2011-04-15

    (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...

JSON Source