{ "id": "108921", "key": "TIMOB-12505", "fields": { "issuetype": { "id": "5", "description": "The sub-task of the issue", "name": "Sub-task", "subtask": true }, "parent": { "id": "108957", "key": "TIMOB-12522", "fields": { "summary": "BlackBerry: Layout Auto Sizing Behavior", "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" } }, "priority": { "name": "High", "id": "2" }, "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": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" }, { "id": "15096", "description": "2013 Sprint 04 BB", "name": "2013 Sprint 04 BB", "archived": true, "released": true, "releaseDate": "2013-02-25" }, { "id": "14814", "description": "2013 Sprint 04", "name": "2013 Sprint 04", "archived": true, "released": true, "releaseDate": "2013-02-25" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-02-13T17:00:47.000+0000", "created": "2013-01-31T00:02:10.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "sdk-bb" ], "versions": [], "issuelinks": [ { "id": "25372", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "108852", "key": "TIMOB-12490", "fields": { "summary": "BlackBerry: Switch control does not display", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "5", "description": "The sub-task of the issue", "name": "Sub-task", "subtask": true } } } } ], "assignee": { "name": "rmcmahon", "key": "rmcmahon", "displayName": "Russell McMahon", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-02-13T18:25:31.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": "Description:\r\n1.Create a default app in BB.\r\n2.replace the code in app.js with this code:\r\n{code}\r\nvar win1 = Titanium.UI.createWindow({ \r\n backgroundColor:'#fff'\r\n});\r\n \r\nvar label1 = Titanium.UI.createLabel({\r\n color:'#000',\r\n text:'I am Window 1',\r\n font:{fontSize:20},\r\n textAlign:'center',\r\n width:'auto'\r\n});\r\nwin1.add(label1);\r\nwin1.open();\r\n{code}\r\n3.Run the app on simulator or device.\r\n\r\nActual result:\r\n1.We do not see any label.\r\n\r\nExpected Result:\r\n2.We should be able to see the label.", "attachment": [], "flagged": false, "summary": "BlackBerry: Label autosizing not working", "creator": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Environment:\r\nTi Studio : 3.1.0.201301231719\r\nTi BB SDK : 3.1.0.v20130130004633\r\nMac OSX : 10.8.2\r\nBB simulator : 10.0.9.386", "closedSprints": [ { "id": 9, "state": "closed", "name": "2013 Sprint 03 BB", "startDate": "2013-02-04T19:45:09.855Z", "endDate": "2013-02-11T19:44:09.855Z", "completeDate": "2013-04-19T16:42:34.551Z" } ], "comment": { "comments": [ { "id": "236755", "author": { "name": "rmcmahon", "key": "rmcmahon", "displayName": "Russell McMahon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I believe this applies to all control.", "updateAuthor": { "name": "rmcmahon", "key": "rmcmahon", "displayName": "Russell McMahon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-01-31T18:35:16.000+0000", "updated": "2013-01-31T18:35:16.000+0000" }, { "id": "238093", "author": { "name": "rmcmahon", "key": "rmcmahon", "displayName": "Russell McMahon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "dup of TIMOB-12522", "updateAuthor": { "name": "rmcmahon", "key": "rmcmahon", "displayName": "Russell McMahon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-02-12T04:41:56.000+0000", "updated": "2013-02-12T04:41:56.000+0000" }, { "id": "238247", "author": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified & the autosizing works.Ran the code without the width,height etc & the label autosized in the center\r\n\r\nEnvironment:\r\nTi Studio : 3.1.0.201302101654\r\nTi BB SDK : 3.1.0.v20130212113336\r\nMac OSX : 10.8.2\r\nwin 7 64 bit\r\nWin 8 \r\nBB simulator : 10.0.9.386", "updateAuthor": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-02-12T21:46:59.000+0000", "updated": "2013-02-12T21:46:59.000+0000" }, { "id": "238281", "author": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Reopening the issue as the autosizing is not working on device.The controls are not displayed on device but seen on simulator\r\n\r\nEnvironment:\r\nTi Studio : 3.1.0.201302101654\r\nTi BB SDK : 3.1.0.v20130212145409\r\nMac OSX : 10.8.2\r\nwin 7 64 bit\r\nWin 8 \r\nDev alpha 10 device", "updateAuthor": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-02-13T00:02:56.000+0000", "updated": "2013-02-13T00:02:56.000+0000" }, { "id": "238282", "author": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Autosizing is not working on device.The controls are not displayed on device but seen on simulator\n\nEnvironment:\nTi Studio : 3.1.0.201302101654\nTi BB SDK : 3.1.0.v20130212145409\nMac OSX : 10.8.2\nwin 7 64 bit\nWin 8 \nDev alpha 10 device", "updateAuthor": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-02-13T00:03:46.000+0000", "updated": "2013-02-13T00:03:46.000+0000" }, { "id": "238362", "author": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix & the label is seen on the BB device\r\n\r\nEnvironment:\r\nTi Studio : 3.1.0.201302101654\r\nTi BB SDK : 3.1.0.v20130213092222\r\nMac OSX : 10.8.2\r\nwin 7 64 bit\r\nWin 8 \r\nBB simulator : 10.0.9.386\r\nDev alpha 10 device", "updateAuthor": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-02-13T18:25:31.000+0000", "updated": "2013-02-13T18:25:31.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }