{ "id": "129545", "key": "AC-873", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "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": "2014-05-04T06:17:12.000+0000", "created": "2014-04-22T10:58:53.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:37:10.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [], "description": "h3. Steps to Reproduce\r\nIn app.tss, the default settings for Button, Label, and TextField are specified for example:\r\n\r\n'Button':{\r\n width:Titanium.UI.SIZE,\r\n textAlign:Ti.UI.TEXT_ALIGNMENT_CENTER\r\n}\r\n\r\nIn another [controller].tss, I try to override the settings in app.tss but the generated app does not show the override:\r\n\r\n'Button':{\r\n width:Titanium.UI.FILL,\r\n textAlign:Ti.UI.TEXT_ALIGNMENT_CENTER\r\n}\r\n\r\nA workaround is to assign an additional class to the Button object in the [view].xml, and assign the width to the class.\r\n\r\n'.fullWidth':{\r\n width:Titanium.UI.FILL\r\n}\r\n\r\n\r\n\r\nh3. Actual Result\r\nButton does not obey [controller].tss width which is supposed to override default in app.tss. Button is rendered on Android at UI.SIZE instead of UI.FILL as expected.\r\n\r\nh3. Expected Result\r\nButton is supposed to be rendered as UI.FILL instead of its default UI.SIZE.\r\n", "attachment": [], "flagged": false, "summary": "Object styles for Button/Label/TextField not overridden in [controller].tss", "creator": { "name": "melvinchia", "key": "melvinchia", "displayName": "Melvin Chia", "active": true, "timeZone": "Asia/Shanghai" }, "subtasks": [], "reporter": { "name": "melvinchia", "key": "melvinchia", "displayName": "Melvin Chia", "active": true, "timeZone": "Asia/Shanghai" }, "environment": "Titanium Studio 3.2.1", "comment": { "comments": [ { "id": "302341", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Please provide a simple runnable test case to reproduce this issue.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-04-24T06:07:16.000+0000", "updated": "2014-04-24T06:07:16.000+0000" }, { "id": "303427", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Resolving this ticket as the reporter has not provided the requested test case. We would be happy to reopen this ticket once we have a test case to reproduce this issue.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-04T06:17:12.000+0000", "updated": "2014-05-04T06:17:12.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }