{ "id": "88087", "key": "TIMOB-8062", "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-16T14:57:28.000+0000", "created": "2012-03-16T13:31:17.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-09T23:20:32.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": "Images with horizontal layout and aligned to the right do not align to the right. Test case below. Sample image: https://img.skitch.com/20120316-1tsrj7gygeb9366wjmwgmru53i.jpg (the three placeholders on the left should be on the right).\r\n\r\nSample code:\r\n\r\n{code}\r\nTi.UI.setBackgroundColor('#fff');\r\n\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor: '#fff'\r\n});\r\n\r\n/**\r\n * Reuters test case 1 - Images with horizontal layout and aligned to the right\r\n */\r\nvar test1Wrapper = Ti.UI.createView({\r\n\twidth: '100%',\r\n\theight: 45,\r\n\ttop: 0,\r\n\tbackgroundColor: '#eee'\r\n});\r\nvar test1ImageBar = Ti.UI.createView({\r\n\tlayout: 'horizontal',\r\n\twidth: Ti.UI.Size,\r\n\theight: 45,\r\n\tright: 45\r\n});\r\nvar test1Image1 = Ti.UI.createImageView({\r\n\twidth: 45,\r\n\theight: 45,\r\n\timage: 'http://placehold.it/45x45'\r\n});\r\nvar test1Image2 = Ti.UI.createImageView({\r\n\twidth: 45,\r\n\theight: 45,\r\n\timage: 'http://placehold.it/45x45'\r\n});\r\nvar test1Image3 = Ti.UI.createImageView({\r\n\twidth: 45,\r\n\theight: 45,\r\n\timage: 'http://placehold.it/45x45'\r\n});\r\ntest1ImageBar.add(test1Image1);\r\ntest1ImageBar.add(test1Image2);\r\ntest1ImageBar.add(test1Image3);\r\n\r\ntest1Wrapper.add(test1ImageBar);\r\nwin.add(test1Wrapper);\r\n\r\nwin.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "iOS: Can't position horizontal layout", "creator": { "name": "rblalock", "key": "rblalock", "displayName": "Rick Blalock", "active": false, "timeZone": "America/Havana" }, "subtasks": [], "reporter": { "name": "rblalock", "key": "rblalock", "displayName": "Rick Blalock", "active": false, "timeZone": "America/Havana" }, "environment": "iOS 5.1\r\nTi SDK 2.0.0.v20120316074737 (CI Build 3/16)", "comment": { "comments": [ { "id": "186878", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Typo Ti.UI.Size != Ti.UI.SIZE", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-03-16T14:19:05.000+0000", "updated": "2012-03-16T14:19:05.000+0000" }, { "id": "186880", "author": { "name": "rblalock", "key": "rblalock", "displayName": "Rick Blalock", "active": false, "timeZone": "America/Havana" }, "body": "My bad. Typo on this. The constant is Ti.UI.SIZE.", "updateAuthor": { "name": "rblalock", "key": "rblalock", "displayName": "Rick Blalock", "active": false, "timeZone": "America/Havana" }, "created": "2012-03-16T14:19:54.000+0000", "updated": "2012-03-16T14:19:54.000+0000" }, { "id": "410991", "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:20:32.000+0000", "updated": "2017-03-09T23:20:32.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }