{ "id": "88648", "key": "TIMOB-8253", "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": "2012-03-26T13:06:09.000+0000", "created": "2012-03-23T15:06:56.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "qe-and031912", "qe-nfc" ], "versions": [ { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" } ], "issuelinks": [], "assignee": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-09T23:21:43.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "Steps to reproduce:\r\n1. Run code on Android:\r\n{code}\r\nvar win = Ti.UI.createWindow();\r\nwin.backgroundColor = 'white';\r\n\r\nvar label = Ti.UI.createLabel({\r\n\ttext: 'Pass if the Picker is within the view (green)',\r\n\ttop: 20,\r\n\tleft: 10,\r\n\theight: Ti.UI.SIZE,\r\n\twidth: Ti.UI.SIZE,\r\n\tcolor: 'black'\r\n});\r\n\r\nvar view1 = Ti.UI.createView({\r\n\theight: 200,\r\n\twidth: 100,\r\n\ttop: 80,\r\n\tbackgroundColor: 'green'\r\n});\r\n\r\n\r\nvar picker = Titanium.UI.createPicker();\r\nvar data = [];\r\ndata[0]=Titanium.UI.createPickerRow({title:'Bananas'});\r\ndata[1]=Titanium.UI.createPickerRow({title:'Strawberries'});\r\ndata[2]=Titanium.UI.createPickerRow({title:'Mangos'});\r\ndata[3]=Titanium.UI.createPickerRow({title:'Grapes'});\r\npicker.add(data);\r\n\r\nview1.add(picker);\r\n\r\n\r\nwin.add(view1);\r\n/*win.add(view2);\r\nwin.add(view3);*/\r\nwin.add(label);\r\nwin.open();\r\n{code}\r\n\r\nActual: Picker does not fill the parent view. See attachment.\r\nExpected: Picker should fill the parent view.", "attachment": [ { "id": "26537", "filename": "device-2012-03-23-160542.png", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-03-23T15:06:56.000+0000", "size": 35810, "mimeType": "image/png" } ], "flagged": false, "summary": "Android: Picker - Picker will not fill in parent view", "creator": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "SDK build: 2.0.0.v20120322190311\r\nRuntime: v8, rhino\r\nTitanium Studio, build: 2.0.0.201203221554\r\nDevice: Galaxy Nexus (4.0.2), Nexus 1 (2.2.2)", "comment": { "comments": [ { "id": "188479", "author": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "body": "It may be that the Android Picker doesn't actually grow vertically (only horizontally)", "updateAuthor": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-24T16:45:23.000+0000", "updated": "2012-03-24T16:45:23.000+0000" }, { "id": "188659", "author": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "body": "Android behavior is correct in this use case", "updateAuthor": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "created": "2012-03-26T13:06:09.000+0000", "updated": "2012-03-26T13:06:09.000+0000" }, { "id": "410996", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as invalid.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-09T23:21:43.000+0000", "updated": "2017-03-09T23:21:43.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }