{ "id": "154081", "key": "TIMOB-20184", "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": "2016-01-01T23:47:11.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "engTriage", "parity", "reprod" ], "versions": [], "issuelinks": [], "assignee": null, "updated": "2020-01-06T23:00:53.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "Look below capture!.\r\n\r\niOS : works!\r\nAndroid : doesn't work! \"s\", \"short\", \"short!\" have same width. \r\n\r\n{code}\r\nvar win = Ti.UI.createWindow({backgroundColor : \"white\"});\r\nvar button1 = Ti.UI.createButton({\r\n width: Ti.UI.SIZE,\r\n title: \"I'm loooooooooooooong button\",\r\n top : 0,\r\n height : 50\r\n});\r\nvar button2 = Ti.UI.createButton({\r\n width: Ti.UI.SIZE,\r\n title: \"s\",\r\n top : 60,\r\n height : 50\r\n});\r\n\r\nvar button3 = Ti.UI.createButton({\r\n width: Ti.UI.SIZE,\r\n title: \"short\",\r\n top : 120,\r\n height : 50\r\n});\r\n\r\nwin.add(button1);\r\nwin.add(button2);\r\nwin.add(button3);\r\n\r\nwin.open();\r\n{code}\r\n\r\n!https://s3.amazonaws.com/f.cl.ly/items/222T1S3Q451O1P2Z1E2B/iPhone_6_-_iPhone_6___iOS_9_2__13C75_.png?v=f9de0de1!", "attachment": [], "flagged": false, "summary": "When title of button is short, Ti.UI.SIZE doesn't on Android", "creator": { "name": "yomybaby", "key": "yomybaby", "displayName": "Jong Eun Lee", "active": true, "timeZone": "Asia/Tokyo" }, "subtasks": [], "reporter": { "name": "yomybaby", "key": "yomybaby", "displayName": "Jong Eun Lee", "active": true, "timeZone": "Asia/Tokyo" }, "environment": null, "comment": { "comments": [ { "id": "373669", "author": { "name": "yomybaby", "key": "yomybaby", "displayName": "Jong Eun Lee", "active": true, "timeZone": "Asia/Tokyo" }, "body": "!https://s3.amazonaws.com/f.cl.ly/items/0C04120L3X0P3D1G0Z2W/iPhone_6_-_iPhone_6___iOS_9_2__13C75_.png?v=f0f14825|width=500px!", "updateAuthor": { "name": "yomybaby", "key": "yomybaby", "displayName": "Jong Eun Lee", "active": true, "timeZone": "Asia/Tokyo" }, "created": "2016-01-01T23:49:19.000+0000", "updated": "2016-01-01T23:50:23.000+0000" }, { "id": "423510", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "I am able to reproduce this issue with the following environment;\r\nPixel (7.1)\r\nStudio 4.9.0.201705302345\r\nTi SDK 6.1.1 GA\r\nAppc NPM 4.2.9\r\nAppc CLI 6.2.2\r\nTi CLI 5.0.14\r\nAlloy 1.9.11\r\nArrow \r\nXcode 8.2 (8C38)\r\nNode v4.8.2\r\nJava 1.8.0_131", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-07-05T16:32:27.000+0000", "updated": "2017-07-05T16:32:27.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }