{ "id": "89169", "key": "TIMOB-8422", "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": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2012-03-29T13:30:08.000+0000", "created": "2012-03-29T13:20:28.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "core" ], "versions": [ { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" } ], "issuelinks": [ { "id": "16202", "type": { "id": "10001", "name": "Cloners", "inward": "is cloned into", "outward": "is cloned from" }, "outwardIssue": { "id": "89166", "key": "TIMOB-8420", "fields": { "summary": "MobileWeb: Specifying a size in points (pt) causes layout errors.", "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" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-09T23:25:42.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "When adding a view with a size specified in points (pt), the size specifier is ignored.\r\n\r\nGiven the following code, the two labels l1 and l2 should be the same size and aligned vertically, as shown in the Android screenshot. Instead, the views are not aligned correctly and the sizes are wrong.\r\n\r\n{code}\r\nvar win1 = Titanium.UI.createWindow({ \r\n title:'Composite Layout Test',\r\n backgroundColor:'#fff',\r\n layout: 'vertical'\r\n});\r\nvar l1 = Titanium.UI.createLabel({\r\n\ttop: 0,\r\n\tcolor:'#999',\r\n\tbackgroundColor: 'blue',\r\n\ttext:'1in',\r\n\tfont:{fontSize:20,fontFamily:'Helvetica Neue'},\r\n\ttextAlign:'center',\r\n\twidth:'1in',\r\n\theight:'1in'\r\n});\r\nwin1.add(l1);\r\n\r\nvar l2 = Titanium.UI.createLabel({\r\n\ttop: 0,\r\n\tcolor:'#999',\r\n\tbackgroundColor: 'red',\r\n\ttext:'72pt',\r\n\tfont:{fontSize:20,fontFamily:'Helvetica Neue'},\r\n\ttextAlign:'center',\r\n\twidth:'72pt',\r\n\theight:'72pt'\r\n});\r\nwin1.add(l2);\r\n\r\nvar l3 = Titanium.UI.createLabel({\r\n\ttop: 0,\r\n\tcolor:'#999',\r\n\tbackgroundColor: 'green',\r\n\ttext:'72 units',\r\n\tfont:{fontSize:20,fontFamily:'Helvetica Neue'},\r\n\ttextAlign:'center',\r\n\twidth:72,\r\n\theight:72\r\n});\r\nwin1.add(l3);\r\n\r\nwin1.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "iOS: Specifying a size in points is not supported", "creator": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "189191", "author": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Rechecked spec. I thought \"pt\" was included, but it is not. It's only supported on Android.", "updateAuthor": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-29T13:30:08.000+0000", "updated": "2012-03-29T13:30:08.000+0000" }, { "id": "411010", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as invalid.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-09T23:25:42.000+0000", "updated": "2017-03-09T23:25:42.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }