{ "id": "141371", "key": "AC-945", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2015-09-29T01:26:37.000+0000", "created": "2014-12-10T02:57:14.000+0000", "labels": [ "defect", "ios" ], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:37:15.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "After setting ti.ui.defaultunit to \"mm\" in tiapp.xml the layouts using percentage sizes stopped working.\r\n\r\nI had a horizontal layout with two child views, both specifying 50% as width. With ti.ui.defaultunit unset the layout is displayed properly. With ti.ui.defaultunit set to \"mm\" the centres of the child views are still in the same place but their width is wrong (far too small).", "attachment": [], "flagged": false, "summary": "iOS: Layout with sizes specified as percentage not working after setting ti.ui.defaultunit", "creator": { "name": "s.stefanek", "key": "s.stefanek", "displayName": "Szymon Tomasz Stefanek", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "s.stefanek", "key": "s.stefanek", "displayName": "Szymon Tomasz Stefanek", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "iOS 8\r\nTitanium 3.4.1", "comment": { "comments": [ { "id": "335800", "author": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "body": "Hi,\r\n\r\nPlease provide a test cast to reproduce your problem. That will be really helpful. Thanks.\r\n\r\nRegards,\r\nShuo", "updateAuthor": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "created": "2014-12-10T08:43:22.000+0000", "updated": "2014-12-10T08:43:22.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }