{ "id": "99717", "key": "TIMOB-10588", "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": [ { "id": "14164", "description": "Release 3.0.2", "name": "Release 3.0.2", "archived": true, "released": true, "releaseDate": "2013-02-19" } ], "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2013-03-27T08:55:15.000+0000", "created": "2012-08-24T05:24:36.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "api", "qe-ios082012" ], "versions": [ { "id": "14096", "description": "Release 2.1.2", "name": "Release 2.1.2", "archived": true, "released": true, "releaseDate": "2012-08-31" } ], "issuelinks": [], "assignee": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-16T18:46:40.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "Label in a view added to a scrollable view changes position on orientation change.\r\n\r\nThis is not a label.This occurs as far as on 2.0.1\r\n\r\nSteps to Reproduce:\r\n\r\n1. Install and launch the app.\r\n2.Rotate the device in other orientations.\r\n\r\nExpected Result:\r\n\r\nThe position of the label should remain same in all the orientation.\r\n\r\nActual Result:\r\n\r\nThe position of the label changes in other orientation.\r\n\r\napp.js\r\n{code}\r\n var _window = Ti.UI.createWindow({});\r\n \t\r\n\r\n\r\n\t\tvar vImageLegend = Ti.UI.createView({\r\n\t\t\theight : 'auto',\r\n\t\t\tlayout : 'vertical',\r\n\t\t\tbackgroundColor : '#E6E6E6',\r\n\t\t});\r\n\t\t\r\n\r\n\t\tvar lLegend = Ti.UI.createLabel({\r\n\t\t\theight : 'auto',\r\n\t\t\ttext : 'image[0].image_legend',\r\n\t\t});\r\n\t\tvImageLegend.add(lLegend);\r\n\r\n\t\t// If more images than 1, create scrollable view\r\n\t\tvar ScrollableView = Ti.UI.createScrollableView({\r\n\t\t\tviews : [vImageLegend],\r\n\t\t\tshowPagingControl : true,\r\n\t\t\tpagingControlHeight : 30,\r\n\t\t\tpagingControlColor : '#899DA2',\r\n\t\t\tcurrentPage : 0,\r\n\t\t\ttop : 50,\r\n\t\t\tleft : 0,\r\n\t\t\theight : 'auto',\r\n\t\t\t// height: 250,\r\n\t\t});\r\n\t\t_window.add(ScrollableView); \r\n\t\t\r\n\t_window.open();\r\n\r\n{code}", "attachment": [], "flagged": false, "summary": "iOS: ScrollableView - Label in a view added to a scrollable view changes position on orientation change.", "creator": { "name": "nchhabra", "key": "nchhabra", "displayName": "Neha Chhabra", "active": true, "timeZone": "Asia/Kolkata" }, "subtasks": [], "reporter": { "name": "nchhabra", "key": "nchhabra", "displayName": "Neha Chhabra", "active": true, "timeZone": "Asia/Kolkata" }, "environment": "Titanium Studio: 2.1.2.201208201549\r\nTitanium SDK: 2.1.2.v20120821160113\r\niOS Device: iPad 2 (5.1)\r\nOS: Mac OSX 10.8", "comment": { "comments": [ { "id": "244271", "author": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Issue does not reproduces \r\n\r\nTested with\r\n\r\nTitanium Studio, build: 3.0.1.201212181159\r\nTitanium SDK version: 3.1.0 \r\nTitanium SDK version: 3.0.2 \r\niOS iPhone Simulator: iOS SDK version: 5.1,6.0\r\n", "updateAuthor": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-27T08:55:15.000+0000", "updated": "2013-06-20T13:31:51.000+0000" }, { "id": "412805", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as the issue cannot be reproduced.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-16T18:46:40.000+0000", "updated": "2017-03-16T18:46:40.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }