{ "id": "109631", "key": "TIMOB-12714", "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": "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-03-06T22:32:32.000+0000", "created": "2013-02-12T22:41:32.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-testadded", "sdk-bb" ], "versions": [], "issuelinks": [], "assignee": { "name": "rmcmahon", "key": "rmcmahon", "displayName": "Russell McMahon", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-09-25T10:24:32.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.Run the sample code below on BB simulator/device\r\n{code}\r\nvar win1 = Titanium.UI.createWindow({ \r\n backgroundColor:'#fff'\r\n});\r\n \r\nvar lbl = Ti.UI.createLabel({\r\ntext:'Please select an item',\r\nfont:{fontSize:15},\r\nheight:'auto',\r\nwidth:'auto',\r\ncolor:'#000'\r\n});\r\nwin1.add(lbl);\r\nwin1.open()\r\n{code}\r\n2.Notice the app after its is launched\r\n\r\nActual Result:\r\n1.The label is not rendered if the height & width is set to 'auto'\r\n\r\nExpected Result:\r\n1.The label should be displayed\r\n\r\nIn the code I have used label you can verify it with any control ", "attachment": [], "flagged": false, "summary": "Blackberry : Specifying 'auto' height & width for any control does not render the control ", "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.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", "comment": { "comments": [ { "id": "238374", "author": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix & the label is getting displayed properly with height & width set to auto\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:41:06.000+0000", "updated": "2013-02-13T18:41:06.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }