{ "id": "87797", "key": "TIMOB-7964", "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-04-04T11:37:17.000+0000", "created": "2012-03-12T16:34:03.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "parity" ], "versions": [ { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" } ], "issuelinks": [], "assignee": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-17T18:44:05.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": "We should probably have a visible text field if it has hintText. \r\n\r\nHere is the code I used:\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow({backgroundColor:'white'});\r\nwin.layout = 'vertical'; \r\n\r\nfor (var i = 0; i < 3; i++) {\r\n win.add(\r\n Ti.UI.createLabel({\r\n text: 'This is label ' + i,\r\n color: 'black',\r\n width: 'auto',\r\n height: 'auto'\r\n }));\r\n win.add(\r\n Ti.UI.createTextField({\r\n hintText: 'This is text field ' + i,\r\n width: 'auto',\r\n height: 'auto'\r\n }));\r\n win.add(\r\n Ti.UI.createButton({\r\n title: 'This is button ' + i,\r\n width: 'auto',\r\n height: 'auto'\r\n }));\r\n}\r\n\r\nwin.open();\r\n\r\n{code}\r\n\r\nExpected Result:\r\nThere should be three text fields that is big enough to fit the size of the hintText\r\n\r\nActual Result:\r\nThe text fields have 0 width/height, which makes it invisible.", "attachment": [], "flagged": false, "summary": "iOS: Textfield with hintText and 'auto' width/height has 0 for width/height", "creator": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "245696", "author": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "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: 6.0", "updateAuthor": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-04T11:37:17.000+0000", "updated": "2013-04-04T11:37:17.000+0000" }, { "id": "413583", "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-17T18:44:05.000+0000", "updated": "2017-03-17T18:44:05.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }