{ "id": "136490", "key": "ALOY-1135", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "11113", "key": "ALOY", "name": "Alloy", "projectCategory": { "id": "10400", "description": "Tools for developing applications", "name": "Tooling" } }, "fixVersions": [], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2014-09-15T18:10:34.000+0000", "created": "2014-09-12T11:11:50.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "qe-3.4.0" ], "versions": [ { "id": "15909", "description": "Alloy 1.5.0", "name": "Alloy 1.5.0", "archived": false, "released": true, "releaseDate": "2014-09-29" } ], "issuelinks": [], "assignee": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "updated": "2018-03-07T22:28:26.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": "13603", "name": "Styling", "description": "TSS, dynamic styling, styling API" } ], "description": "Textfield not visible on window when styles applied in tss\r\nNot a regression. Since issue occurs with 3.3.0.GA also\r\n\r\n*Steps to reproduce:*\r\n1. Create Alloy Project. Replace the js files with code mentioned below\r\n2. Run the app.\r\n\r\nindex.js:\r\n{code}\r\n$.win.open();\r\n{code}\r\n\r\nindex.xml:\r\n{code}\r\n\r\n \r\n \r\n \r\n\r\n{code}\r\n\r\nindex.tss:\r\n{code}\r\n\"#win\":{\r\n\tbackgroundColor: \"white\"\r\n}\r\n\r\n\"#textField\":{\r\n\tborderStyle: \"Ti.UI.INPUT_BORDERSTYLE_ROUNDED\",\r\n\tcolor: \"#336699\",\r\n\ttop: \"10\",\r\n\tleft: \"10\",\r\n\twidth: \"250\",\r\n\theight: \"60\"\r\n}\r\n\r\n{code}\r\n\r\n{color:green}*Expected Result:*{color}\r\n2. Textfield must be visible.\r\n\r\n{color:red}*Actual Result:*{color}\r\nTextfield is not visible.\r\n\r\nNote: if the styles are applied on xml file itself. Then Textfield is visible.\r\n\r\n\r\n", "attachment": [], "flagged": false, "summary": "iOS: TextField: Textfield is not visible on window when styles applied in tss file", "creator": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Appcelerator Studio:3.4.0.201409111151\r\nSdk:3.4.0.v20140911135715\r\nalloy:1.5.0-rc\r\ntitanium:3.4.0-rc2\r\ntitanium-code-processor:1.1.1\r\nacs:1.0.16\r\nnpm:1.3.2\r\nOS:Maverick(10.9.4)\r\nxcode: Xcode6GMSeed \r\nDevice:iPhone5c(v8.0)", "closedSprints": [ { "id": 217, "state": "closed", "name": "2014 Sprint 19 Alloy", "startDate": "2014-09-15T12:45:43.956Z", "endDate": "2014-09-29T12:45:00.000Z", "completeDate": "2014-09-29T13:30:39.342Z", "originBoardId": 124 } ], "comment": { "comments": [ { "id": "323729", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "In the TSS (or JS) file, the borderStyle property must be entered without quotes. You are referring to a constant (ultimately an integer). By adding the quotes, you're passing a string which is then ignored.", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2014-09-15T18:10:34.000+0000", "updated": "2014-09-15T18:10:34.000+0000" }, { "id": "435341", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as invalid. If this is incorrect, please reopen.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-03-07T22:28:26.000+0000", "updated": "2018-03-07T22:28:26.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }