Project: titanium
Issue TIMOB-19048: Windows: Word wrap on labels does not work if width and height are not set
h5.Description When using a label, the word wrap will not work unless the height and width are set {code} var win = Ti.UI.createWindow({backgroundColor: 'red'}); var lbl = Ti.UI.createLabel({ text: '*** Resources Dir: Test presence of file that exists => blahTest presence of file that does not exist => bleh*** appData Dir:Test presence of file that exists => meh Test presence of file that does not exist => merh', color: 'black' }); win.add(lbl); win.open(); {code} *Marking this as minor as it is a simple _workaround_* h5.Steps To Reproduce 1. Add the above code to an existing app.js file 2. Run on a device or emulator 3. Add the following to the label creation {{width: Ti.UI.FILL, height: Ti.UI.FILL}} 4. Run on device or emulator h5.Actual Result 2. The text is not word wrapped 4. The text is word wrapped h5.Expected Result The text should be word wrapped both times
Story points: 5