Project: titanium
Issue TIMOB-23377: Windows: Label with both left and right in ScrollView always shows scroll bar
{{Label}} with both {{left}} and {{right}} specified in {{ScrollView}} always shows horizontal scroll bar. **Expected** Following example should not show horizontal scroll bar. {code} var win = Ti.UI.createWindow({ backgroundColor: 'green' }); var scrollView = Ti.UI.createScrollView({ layout: "vertical", top: 0, }); 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); scrollView.add(view); win.add(scrollView); win.open(); {code}
Story points: 8