{ "id": "153998", "key": "AC-1354", "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": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2015-12-24T06:00:55.000+0000", "created": "2015-12-22T10:53:52.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "updated": "2016-03-08T07:37:46.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": "14551", "name": "Studio", "description": "Please enter tickets related to Titanium Studio here." }, { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "{code:xml}\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n{code}\r\n{code}\r\n\".container\": {\r\n backgroundColor:\"white\"\r\n}\r\n\r\n\"View\": {\r\n height: 150,\r\n width: 150,\r\n opacity: 0.7\r\n}\r\n\r\n\"#red\": {\r\n top: 150,\r\n left: 150\r\n}\r\n\r\n\"#green\": {\r\n bottom: 150,\r\n right: 150\r\n}\r\n\r\n\"#blue\": {\r\n height: 100,\r\n width: 100,\r\n\r\n center: {\r\n x: 150,\r\n y: 150\r\n }\r\n}\r\n{code}", "attachment": [ { "id": "57829", "filename": "centerPropertyDoesNotWork.jpg", "author": { "name": "fixplease", "key": "fixplease", "displayName": "Fix Please", "active": true, "timeZone": "Europe/Luxembourg" }, "created": "2015-12-22T10:50:00.000+0000", "size": 97042, "mimeType": "image/jpeg" } ], "flagged": false, "summary": "View center property does not work in Mobile Web", "creator": { "name": "fixplease", "key": "fixplease", "displayName": "Fix Please", "active": true, "timeZone": "Europe/Luxembourg" }, "subtasks": [], "reporter": { "name": "fixplease", "key": "fixplease", "displayName": "Fix Please", "active": true, "timeZone": "Europe/Luxembourg" }, "environment": "Win, CLI version 5.0.5, Titanium SDK version 4.0.0.GA", "comment": { "comments": [ { "id": "373452", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello [~fixplease], According to [Appcelerator documentation|http://docs.appcelerator.com/platform/latest/#!/api/Point], Point attributes for center property in UI view is not available for Mobileweb. It's only available for iOS and Android. This is not a bug. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2015-12-23T08:36:21.000+0000", "updated": "2015-12-23T08:36:47.000+0000" }, { "id": "373456", "author": { "name": "fixplease", "key": "fixplease", "displayName": "Fix Please", "active": true, "timeZone": "Europe/Luxembourg" }, "body": "Hi Sharif,\r\n\r\nin this case there is a \"bug\" in the documentation:\r\nhttp://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.View-property-center\r\n\r\nThere is nothing mentioned about platform compatibility of the 'center' property.", "updateAuthor": { "name": "fixplease", "key": "fixplease", "displayName": "Fix Please", "active": true, "timeZone": "Europe/Luxembourg" }, "created": "2015-12-23T12:23:49.000+0000", "updated": "2015-12-23T12:23:49.000+0000" }, { "id": "373457", "author": { "name": "fixplease", "key": "fixplease", "displayName": "Fix Please", "active": true, "timeZone": "Europe/Luxembourg" }, "body": "\r\nPS. What about the TC-5759?", "updateAuthor": { "name": "fixplease", "key": "fixplease", "displayName": "Fix Please", "active": true, "timeZone": "Europe/Luxembourg" }, "created": "2015-12-23T12:24:44.000+0000", "updated": "2015-12-23T12:24:44.000+0000" }, { "id": "373516", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, Read carefully my previous response. \"Point attributes for center property in UI view is not available for Mobileweb\". Go to the link you will see point attributes as providing \"x\" and \"y\" coordinates is not supported in Mobileweb. For using center property in views you need to provide the point attributes, in where the supported platform is given. ", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2015-12-24T06:00:09.000+0000", "updated": "2015-12-24T06:00:09.000+0000" }, { "id": "373530", "author": { "name": "fixplease", "key": "fixplease", "displayName": "Fix Please", "active": true, "timeZone": "Europe/Luxembourg" }, "body": "Sharif, I always ready carefully. Please, do the same/ Go to the link you will see there is nothing written about that in the View description.\r\n!http://imghost.in/img/2015-12/24/s98c54xug31b53ixd4azqpw8h.jpg!", "updateAuthor": { "name": "fixplease", "key": "fixplease", "displayName": "Fix Please", "active": true, "timeZone": "Europe/Luxembourg" }, "created": "2015-12-24T15:07:06.000+0000", "updated": "2015-12-24T15:07:06.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }