{ "id": "151518", "key": "AC-384", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2015-11-14T01:04:05.000+0000", "created": "2015-09-26T14:57:46.000+0000", "labels": [ "ios", "picker", "sdk" ], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2015-11-14T01:04:05.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "Custom Pickers (using Titanium.UI.PICKER_TYPE_PLAIN) appear to be rendering slightly off-screen (to the left) when placed inside a tableview, scrollview or listview and are not following set left/center/right positioning. Date pickers appear unaffected.\r\n\r\nKeeping pickers inline is currently a recommended UI guideline from Apple (at least for date pickers...): https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/MobileHIG/Controls.html (\"As much as possible, display a date picker inline with the content.\")\r\n\r\nQuick alloy code example:\r\n\r\n{code:java}\r\n\r\n \r\n \r\n \r\n \t\r\n\t\t \r\n\t\t \r\n\t\t \r\n\t\t \r\n\t\t \r\n\t\t \r\n\t\t \r\n\t\t \r\n \t\r\n \t\r\n\t\t \r\n\t\t \r\n \t\r\n \r\n \r\n\r\n{code}", "attachment": [ { "id": "56820", "filename": "Simulator Screen Shot 27 Sep 2015 12.47.11 am.png", "author": { "name": "kducros", "key": "kducros", "displayName": "Keith", "active": true, "timeZone": "Australia/Sydney" }, "created": "2015-09-26T14:52:18.000+0000", "size": 72904, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: Custom Picker renders off-screen and wont position correctly when inside TableView/ScrollView/ListView", "creator": { "name": "kducros", "key": "kducros", "displayName": "Keith", "active": true, "timeZone": "Australia/Sydney" }, "subtasks": [], "reporter": { "name": "kducros", "key": "kducros", "displayName": "Keith", "active": true, "timeZone": "Australia/Sydney" }, "environment": "Tested on iOS 9 with SDK 5.0.1 and 5.0, on iPhone 6, 6+. Other devices potentially.", "comment": { "comments": [ { "id": "365049", "author": { "name": "hmrida", "key": "hmrida", "displayName": "Harish Mridha", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hi ,\r\nIf you set the type property to anything else except Titanium.UI.PICKER_TYPE_PLAIN, you cannot modify the picker's columns. Please take a look on this [Note|http://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.Picker]\r\n\r\nThanks ", "updateAuthor": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-09-27T08:31:38.000+0000", "updated": "2015-11-14T01:03:57.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }