[TIMOB-13259] BlackBerry: ScrollView setting height and width to "auto" does not work
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Low |
| Status | Closed |
| Resolution | Cannot Reproduce |
| Resolution Date | 2013-04-18T23:29:55.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | BlackBerry |
| Labels | sdk-bb |
| Reporter | Russell McMahon |
| Assignee | Russell McMahon |
| Created | 2013-03-28T22:59:26.000+0000 |
| Updated | 2017-03-16T20:23:21.000+0000 |
This works the same way as it does in iOS. "auto" makes the ScrollView fit the parent container. Test:
var win = Ti.UI.createWindow({ backgroundColor: 'white' }); var scrollView = Ti.UI.createScrollView({ backgroundColor: 'red', width: 'auto', height: 'auto' }) win.add(scrollView); win.open();Closing ticket as BlackBerry is no longer supported by us.