{ "id": "118480", "key": "TIMOB-14886", "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-08-14T07:35:31.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "ios" ], "versions": [ { "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:04:16.000+0000", "status": { "description": "This issue was once resolved, but the resolution was deemed incorrect. From here issues are either marked assigned or resolved.", "name": "Reopened", "id": "4", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "*Problem*\r\nLabel padding is not working on iOS. No padding is displayed. Background image is scaled according to padding but it is displayed cropped.\r\n\r\n*Test case 1*\r\n{code:javascript}\r\nvar win = Ti.UI.createWindow({});\r\n\r\nvar l = Ti.UI.createLabel({\r\n\ttext : 'Test',\r\n\tbackgroundImage : '/appicon.png',\r\n\tbackgroundPaddingLeft : '50dp',\r\n\tbackgroundPaddingBottom : '50dp',\r\n\tbackgroundPaddingRight : '50dp',\r\n\tbackgroundPaddingTop : '50dp'\r\n});\r\n\r\nwin.add(l);\r\n\r\nwin.open();\r\n{code}\r\n\r\n*Test case 2*\r\n{code:javascript}\r\nvar win = Ti.UI.createWindow({});\r\n\r\nvar l = Ti.UI.createLabel({\r\n\ttext : 'Test',\r\n\tbackgroundColor : \"FF0000\",\r\n\tpaddingLeft : '50',\r\n\tpaddingBottom : '50',\r\n\tpaddingRight : '50',\r\n\tpaddingTop : '50'\r\n});\r\n\r\nwin.add(l);\r\n\r\nwin.open();\r\n{code}\r\n\r\n*Logs*\r\nNo relevant console output.", "attachment": [ { "id": "41608", "filename": "iOS Simulator Screen shot 14.08.2013 09.34.22.png", "author": { "name": "philet", "key": "philet", "displayName": "Philippe Wueger", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-08-14T07:35:31.000+0000", "size": 6435, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: Label padding not working", "creator": { "name": "philet", "key": "philet", "displayName": "Philippe Wueger", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "philet", "key": "philet", "displayName": "Philippe Wueger", "active": true, "timeZone": "Europe/Berlin" }, "environment": "Titanium 3.2 (HEAD)\r\niOS SDK 6", "comment": { "comments": [ { "id": "266565", "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.2 CI.\n\nI also added \"Test case 2\" since I'm not sure if the standard padding properties are working either - notice the size of the backgroundColor doesn't change.", "updateAuthor": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-14T23:15:53.000+0000", "updated": "2013-08-14T23:15:53.000+0000" }, { "id": "318396", "author": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Issue Cannot reproduce \r\nTitanium Command-Line Interface, \r\nCLI version 3.3.0, \r\nTitanium SDK version 3.3.0.GA \r\niOS SDK: 7.1 \r\niOS iPhone Simulator: 7.1", "updateAuthor": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-08-13T07:22:31.000+0000", "updated": "2014-08-13T07:22:31.000+0000" }, { "id": "318465", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~shameerj] and [~sunila]. We should test this in 3.2.0 and 3.4.0 (latest master).\r\n\r\n* If it cannot be reproduced in 3.2.0, then mark as Can't Reproduce, with no fix version\r\n* If it can be reproduced in 3.2.0 but not in 3.4.0, mark as Fixed in 3.4.0\r\n\r\nReopening.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-08-13T16:49:08.000+0000", "updated": "2014-08-13T16:49:08.000+0000" }, { "id": "318666", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I see no justification this should have ben re-resolved. See my comments above, follow those instructions, and then report your updated findings.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-08-14T16:13:14.000+0000", "updated": "2014-08-14T16:13:14.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }