{ "id": "83273", "key": "TIMOB-7005", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "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": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2012-01-05T18:19:13.000+0000", "created": "2011-12-01T02:21:52.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-21T22:54:15.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": "10224", "name": "TiAPI", "description": "This component is used for cross-platform API work. Specifications are most likely to use this component." } ], "description": "Since you're trying to mimic the web environment, mimicking the CSS box model would be a good idea. One of the properties that's currently missing is padding. \r\n\r\nYes, a workaround is putting views inside views. But it's ridiculously clunky, and doesn't always do what you want anyways. It's one of the things that should just work. ", "attachment": [], "flagged": false, "summary": "API: UI - provide ability to apply padding to views", "creator": { "name": "ziggamon2", "key": "ziggamon2", "displayName": "Sergej Kotliar", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ziggamon2", "key": "ziggamon2", "displayName": "Sergej Kotliar", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "178115", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Sergej\r\n\r\nThanks for raising this request.\r\n\r\nTo be clear, we are not \"trying to mimic the web environment\". Titanium aims to provide features that relate directly to their native mobile platform counterparts. As a rule of thumb, if the feature you need is not provided in a core native API, then it is very much less likely to be implemented in the core Titanium API.\r\n\r\nThat said, you can certainly implement this yourself, by writing a module for each platform (see [Extending Titanium|https://wiki.appcelerator.org/display/guides/Extending+Titanium]). If you believe there is a great demand for it from the rest of the developer community, there can be great revenue opportunities if you sell it in [our marketplace|http://marketplace.appcelerator.com/].\r\n\r\nCheers\r\n\r\n\r\n", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2012-01-05T08:30:03.000+0000", "updated": "2012-01-05T08:30:03.000+0000" }, { "id": "178119", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "While my above advice still stands, I have found a planning document that proposes a {{margin}} and {{padding}} property for views. Also, ticket TIMOB-6702 exists in the main project (an iOS equivalent will be raised when the work starts).\r\n\r\nTherefore, it seems like you may get your wish! Still, I did say, \"less likely\", didn't I? ;)\r\n\r\nCheers", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2012-01-05T08:41:46.000+0000", "updated": "2012-01-05T08:41:46.000+0000" }, { "id": "178123", "author": { "name": "karl.astrom", "key": "karl.astrom", "displayName": "Karl Åström", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Paul,\r\nThe thing about providing native features instead of \"emulating the web environment\" is that users don't really care as long as you do at least one of those. Right now you do neither. I know that you're working on a declarative UI-solution but while you work on it we still need to put products to market in order to get revenue.\r\n\r\nSo please stop dismissing the failings of the platform by telling users to go fix it themselves, some of your users have paid quite large amounts of money for you to deliver a working platform.\r\n\r\nCheers.", "updateAuthor": { "name": "karl.astrom", "key": "karl.astrom", "displayName": "Karl Åström", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-05T08:51:30.000+0000", "updated": "2012-01-05T08:51:30.000+0000" }, { "id": "178303", "author": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This request is a duplicate of TiMOB-6702. We will implement it for all platforms (Android, iOS and Mobile Web) when we implement it even if this ticket is Android specific.", "updateAuthor": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-05T18:18:33.000+0000", "updated": "2012-01-05T18:18:33.000+0000" }, { "id": "414644", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as duplicate with reference to the above comments.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-21T22:54:15.000+0000", "updated": "2017-03-21T22:54:15.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }