{ "id": "79088", "key": "TIMOB-5516", "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": "11570", "description": "", "name": "Release 1.7.2", "archived": true, "released": true, "releaseDate": "2011-07-21" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-09-22T00:24:13.000+0000", "created": "2011-08-10T09:35:07.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "qe-testadded" ], "versions": [], "issuelinks": [], "assignee": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-07-22T10:18:51.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": "11500", "name": "MobileWeb", "description": "Mobile Web (HTML) Platform" } ], "description": "Incorrect paddings in Button object. When width of the button is small the align of the title is not center.\r\n\r\n{code:javascript}\r\nvar win = Ti.UI.currentWindow;\r\nwin.backgroundColor = '#EEE';\r\n\r\nvar b1 = Ti.UI.createButton({\r\n\ttitle: 'Button',\r\n\ttop: 10,\r\n\tleft: 10,\r\n\theight: 40,\r\n\twidth: 47,\r\n\tbackgroundColor: '#888'\r\n});\r\n\r\nwin.add(b1);\r\n{code}\r\nExpected behavior: title of the button should be in the center of the button.\r\nActual result: space between left border of button and first letter of title is bigger than space between last letter of title and right border of button.", "attachment": [], "flagged": false, "summary": "MobileWeb: Incorrect paddings in Button object", "creator": { "name": "mvasko", "key": "mvasko", "displayName": "Misha Vasko", "active": true, "timeZone": "Europe/Kiev" }, "subtasks": [], "reporter": { "name": "mvasko", "key": "mvasko", "displayName": "Misha Vasko", "active": true, "timeZone": "Europe/Kiev" }, "environment": null, "comment": { "comments": [ { "id": "165357", "author": { "name": "akulinich", "key": "akulinich", "displayName": "Andrew Kulinich", "active": true, "timeZone": "America/Los_Angeles" }, "body": "please provide more details. Especially expected result and code to reproduce", "updateAuthor": { "name": "akulinich", "key": "akulinich", "displayName": "Andrew Kulinich", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-09-08T06:43:37.000+0000", "updated": "2011-09-08T06:43:37.000+0000" }, { "id": "165761", "author": { "name": "akulinich", "key": "akulinich", "displayName": "Andrew Kulinich", "active": true, "timeZone": "America/Los_Angeles" }, "body": "please provide an example, avtual result and expected results", "updateAuthor": { "name": "akulinich", "key": "akulinich", "displayName": "Andrew Kulinich", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-09-13T00:31:33.000+0000", "updated": "2011-09-13T00:31:33.000+0000" }, { "id": "216467", "author": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified fix on:\r\nTitanium studio : 2.1.1.201207271312\r\nSDK version : 2.2.0.v20120827143312\r\nChrome 21.0.xx\r\nFirefox 15\r\nSafari 6.0\r\nAndroid 4.0.4 default browser,chrome 18.0.xx ,firefox 15.0\r\nIphone 5.0.1 mobile safari", "updateAuthor": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-08-28T11:00:57.000+0000", "updated": "2012-08-28T11:00:57.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }