Project: titanium
Issue TIMOB-23372: Windows: Layout with left & right break layout
Specifying both {{right}} and {{left}} doesn't work with {{horizontal}} layout. For example, following example should show {{this is test text}} text with yellow background, but it doesn't. {code} var win = Ti.UI.createWindow({backgroundColor:'green'}); var view = Ti.UI.createView({ backgroundColor:'yellow', layout: "horizontal", top: 10, left: 10, height: Ti.UI.SIZE, width: Ti.UI.SIZE, }); var label = Ti.UI.createLabel({ left: 10, right: 10, color: "blue", text: "this is test text" }); view.add(label); win.add(view); win.open(); {code} *expected* !Expected.PNG|thumbnail! *actual* !Actual.PNG|thumbnail!
Story points: 8