{ "id": "125616", "key": "TIMOB-16834", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2014-01-30T19:18:49.000+0000", "created": "2014-01-30T00:47:10.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "blackberry", "look1" ], "versions": [], "issuelinks": [], "assignee": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-16T20:22:20.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10230", "name": "BlackBerry", "description": "BlackBerry Platform" } ], "description": "Scrollable view just comes up with a white screen with correct title where iOS and Android appear to work fine.\n\nI came across this problem while trying to display in a TabbedView. In the tabbed view it will just crash the app unless you put a title and width/height parameters into the window/scrollableview. \n\n{code}\nvar win1 = Titanium.UI.createWindow({ \n title:'Tab 1',\n backgroundColor:'orange'\n});\n\nvar label1 = Titanium.UI.createLabel({\n\tcolor:'blue',\n\ttext:'I am Window 1',\n\tfont:{fontSize:20,fontFamily:'Helvetica Neue'},\n\ttextAlign:'center',\n\twidth:'auto'\n});\n\nwin1.add(label1);\n\nvar win2 = Titanium.UI.createWindow({ \n title:'Tab 2',\n backgroundColor:'green'\n});\n\nvar label2 = Titanium.UI.createLabel({\n\tcolor:'red',\n\ttext:'I am Window 2',\n\tfont:{fontSize:20,fontFamily:'Helvetica Neue'},\n\ttextAlign:'center',\n\twidth:'auto'\n});\n\nwin2.add(label2);\n\nvar win3 = Titanium.UI.createWindow({ \n title:'win 3',\n backgroundColor:'#fff'\n});\n\nvar scrollableView = Ti.UI.createScrollableView({\n\t \tviews: [win1, win2],\n \t\tshowPagingControl:true\n});\n\nwin3.add(scrollableView);\nwin3.open();\n\n{code}", "attachment": [], "flagged": false, "summary": "Blackberry Scrollable View does not work", "creator": { "name": "ssaracut", "key": "ssaracut", "displayName": "Steven Saracut", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "ssaracut", "key": "ssaracut", "displayName": "Steven Saracut", "active": true, "timeZone": "America/New_York" }, "environment": "Mac OS\r\nTitanium 3.2.0", "comment": { "comments": [ { "id": "290468", "author": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "body": "this is invalid bug. Windows cannot be added to a scrollable view. Only Views are supported as children. \n", "updateAuthor": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-30T19:18:37.000+0000", "updated": "2014-01-30T19:18:37.000+0000" }, { "id": "300759", "author": { "name": "ssaracut", "key": "ssaracut", "displayName": "Steven Saracut", "active": true, "timeZone": "America/New_York" }, "body": "Android and iOS support this since windows derive from a view... For BB that does not appear to be the case. Not really invalid.", "updateAuthor": { "name": "ssaracut", "key": "ssaracut", "displayName": "Steven Saracut", "active": true, "timeZone": "America/New_York" }, "created": "2014-04-14T01:22:27.000+0000", "updated": "2014-04-14T01:22:27.000+0000" }, { "id": "300796", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "If I may ask, why are you adding a windows to a view? (or scrollable view view)", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-04-14T16:04:35.000+0000", "updated": "2014-04-14T16:04:35.000+0000" }, { "id": "412855", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as BlackBerry is no longer supported by us.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-16T20:22:20.000+0000", "updated": "2017-03-16T20:22:20.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }