{ "id": "109675", "key": "TIMOB-12724", "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-07-23T08:28:35.000+0000", "created": "2013-02-13T19:24:36.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "module_textfield", "qe-testadded", "sdk-bb" ], "versions": [], "issuelinks": [], "assignee": { "name": "rmcmahon", "key": "rmcmahon", "displayName": "Russell McMahon", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-06-19T12:43:42.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 code snippet below:\r\n{code}\r\nvar win1 = Titanium.UI.createWindow({ \r\n backgroundColor:'#000'\r\n});\r\n \r\nvar usernameField = Ti.UI.createTextField({\r\n\t\twidth:'auto',\r\n\t\theight:'auto',\r\n\t\thintText: 'Username',\r\n\t\ttop: 10, \r\n\t\tleft: 10\r\n});\r\nwin1.add(usernameField);\r\nwin1.open()\r\n{code}\r\n\r\nActual result:\r\n1.You will see that the textfield is not displayed\r\n2.Setting the width & height to specific dimensions displays the textfield\r\n\r\nExpected Result:\r\nThe text field should be displayed", "attachment": [], "flagged": false, "summary": "Blackberry : Textfield are not displaying if width & height are set to auto", "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.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", "comment": { "comments": [ { "id": "238455", "author": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix & now can see the textfield.Thus closing the issue.\r\n\r\n\r\nEnvironment:\r\nTi Studio : 3.1.0.201302101654\r\nTi BB SDK : 3.1.0.v20130213122031\r\nMac OSX : 10.8.2\r\nwin 7 \r\nWin 8 \r\nBB simulator : 10.0.9.386\r\nDev alpha 10 device\r\n", "updateAuthor": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-02-13T22:31:31.000+0000", "updated": "2013-02-13T22:31:31.000+0000" }, { "id": "262795", "author": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reopening just to update label.", "updateAuthor": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-07-23T08:26:53.000+0000", "updated": "2013-07-23T08:26:53.000+0000" }, { "id": "262796", "author": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Updated label.\r\nClosing as fixed.\r\nVerified with environment:\r\n\r\nStudio: 3.1.2.201307191853\r\nTitanium SDK:3.1.2.v20130718094558\r\nacs:1.0.3\r\nalloy:1.1.3\r\nnpm:1.3.2\r\ntitanium:3.1.1\r\ntitanium-code-processor:1.0.1\r\nOS: OSX 10.8\r\nDevice:Blackberry-Z10(v 10.0.10.261)\r\nblackberry SDK: 10.1.0.1020\r\n\r\nTextfield getting displayed with width and height auto. ", "updateAuthor": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-07-23T08:28:35.000+0000", "updated": "2013-07-23T08:28:35.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }