{ "id": "114728", "key": "TIMOB-14079", "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": [], "resolution": null, "resolutiondate": null, "created": "2013-05-21T20:50:15.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [ { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "issuelinks": [], "assignee": null, "updated": "2018-02-28T20:03:40.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "*Problem*\r\nFrom the test case below, the \"left: 12\" works great on .leftTableRowLabel and I can see the 12 pixel margin on the left of each label of that section, but the same does not work for .leftTableSectionHeaderLabel which is a Label of a HeaderView inside a TableViewSection. So the text inside the tableviewsection is stuck on the left side of the screen.\r\n\r\n*Steps to reproduce*\r\n1. Create a new Default Alloy Project\r\n2. Replace contents with test case below\r\n3. Run on iOS and see that the left property has no effect on the HeaderView label\r\n\r\n*index.xml*\r\n{code:xml}\r\n\r\n\t\r\n\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\r\n\t\r\n\r\n{code}\r\n\r\n*index.tss*\r\n{code:css}\r\n\"#leftTable\": {\r\n\tseparatorColor: \"#454545\",\r\n\tbackgroundColor:\"#555555\"\r\n}\r\n\r\n\".leftTableSectionHeaderLabel\": {\r\n\tbackgroundColor: \"#666666\",\r\n\tcolor: \"white\",\r\n\theight: 25,\r\n\tleft: 12\r\n}\r\n\r\n\".leftTableRowLabel\": {\r\n\tbackgroundColor: \"#555555\",\r\n\theight: 35,\r\n color: \"#ebebeb\",\r\n left: 12\r\n}\r\n{code}\r\n\r\n*index.js*\r\n{code:javascript}\r\n$.leftWindow.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "iOS: Left positioning on Label inside HeaderView of a TableViewSection not working", "creator": { "name": "quochuy", "key": "quochuy", "displayName": "Quoc Huy", "active": true, "timeZone": "Australia/Sydney" }, "subtasks": [], "reporter": { "name": "quochuy", "key": "quochuy", "displayName": "Quoc Huy", "active": true, "timeZone": "Australia/Sydney" }, "environment": "Titanium Studio, build: 3.2.0.201305202233\r\nTi SDK 3.1 GA, 3.2 CI", "comment": { "comments": [ { "id": "255314", "author": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested and confirmed on iOS 6 simulator with Ti SDK 3.1 GA and 3.2 CI.", "updateAuthor": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-31T23:15:39.000+0000", "updated": "2013-05-31T23:16:27.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }