{ "id": "118962", "key": "TIMOB-14944", "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": "15690", "description": "2013 Sprint 18 API", "name": "2013 Sprint 18 API", "archived": true, "released": true, "releaseDate": "2013-09-06" } ], "resolution": { "id": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2013-08-30T21:23:35.000+0000", "created": "2013-08-23T17:20:48.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "ios7" ], "versions": [], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-22T18:09:10.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": "h2. Description of the problem\r\nWhen opening an alert dialog with a very long text (that needs to scroll), the text alignment in iOS6 is left, while on iOS7 is centered.\r\n\r\nh2. Test code\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor: 'white'\r\n});\r\nwin.open();\r\n\r\nvar termsAlert = Ti.UI.createAlertDialog({\r\n\tmessage : \"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras blandit orci sit amet est feugiat, in volutpat dolor dapibus. Mauris tempus nibh et egestas cursus. Nullam ante tortor, pretium facilisis mattis id, gravida a felis. Pellentesque adipiscing augue nec tortor ullamcorper, non scelerisque neque laoreet. Maecenas ornare rhoncus libero, id elementum diam egestas ac. Nulla facilisi. Fusce sed arcu vitae nunc porttitor congue quis ac neque. Ut eu neque gravida, iaculis velit vel, fringilla nunc. Ut ut neque a erat luctus imperdiet. Pellentesque pellentesque metus ac augue hendrerit, sed sagittis lacus posuere. Quisque eu mauris ante.\",\r\n\ttitle : 'Lorem Ipsum',\r\n\tAgree : 1,\r\n\tCancel : 0,\r\n\tbuttonNames : ['Cancel', 'Agree']\r\n}); \r\n\r\ntermsAlert.show();\r\n{code}", "attachment": [], "flagged": false, "summary": "iOS7: Alert Dialog has different text alignment when message is very long, compared to iOS6", "creator": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "comment": { "comments": [ { "id": "267886", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[Apple's API|https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIAlertView_Class/UIAlertView/UIAlertView.html#//apple_ref/doc/uid/TP40006802] does not expose any way to control text layout, and any changes were a design decision made by Apple. Moving to 'not our bug' or 'won't fix'.", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-23T18:23:12.000+0000", "updated": "2013-08-23T18:23:12.000+0000" }, { "id": "414838", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as the issue will not fix and with reference to the above comments. ", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-22T18:09:10.000+0000", "updated": "2017-03-22T18:09:10.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }