Title: [iOS] HtmlView padding is ignored · Issue #4358 · NativeScript/NativeScript · GitHub
Open Graph Title: [iOS] HtmlView padding is ignored · Issue #4358 · NativeScript/NativeScript
X Title: [iOS] HtmlView padding is ignored · Issue #4358 · NativeScript/NativeScript
Description: On iOS the HtmlView padding is not being set at all. For example:
Open Graph Description: On iOS the HtmlView padding is not being set at all. For example:
X Description: On iOS the HtmlView padding is not being set at all. For example: <HtmlView style="background-color: red; padding: 200;" html="<span style='background-color:green'>T...
Opengraph URL: https://github.com/NativeScript/NativeScript/issues/4358
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[iOS] HtmlView padding is ignored","articleBody":"On iOS the `HtmlView` padding is not being set at all. For example:\r\n```xml\r\n\u003cHtmlView style=\"background-color: red; padding: 200;\" \r\nhtml=\"\u003cspan style='background-color:green'\u003eTEST\u003c/span\u003e\"/\u003e\r\n```\r\nrenders like:\r\n\r\n\r\nThe `HtmlView` should implement the `padding*` properties like the `TextView` widget as well as set `UITextVew.textContainer.lineFragmentPadding` in order to eliminate the default left padding. \r\n\r\n\u003cbountysource-plugin\u003e\r\n\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/46138924-ios-htmlview-padding-is-ignored?utm_campaign=plugin\u0026utm_content=tracker%2F12908224\u0026utm_medium=issues\u0026utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin\u0026utm_content=tracker%2F12908224\u0026utm_medium=issues\u0026utm_source=github).\r\n\u003c/bountysource-plugin\u003e","author":{"url":"https://github.com/PeterStaev","@type":"Person","name":"PeterStaev"},"datePublished":"2017-06-12T13:55:35.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/4358/NativeScript/issues/4358"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:6c301504-3bc0-2312-cf36-7e2b0345d34a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8B82:119557:2E45C3A:3DEC70E:697438D8 |
| html-safe-nonce | 39d472a9667215644cd9a9a78ccc1df48842e342bf60feea1d88d24c038cab64 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QjgyOjExOTU1NzoyRTQ1QzNBOjNERUM3MEU6Njk3NDM4RDgiLCJ2aXNpdG9yX2lkIjoiODY0MjMwNDU4NjAwMzI2NTc1MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 23aca76de7a4fbf0e5be76cbb4bbc7f0355ff8f8ead32d9a6e770d8c9a2abbcf |
| hovercard-subject-tag | issue:235240901 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/NativeScript/NativeScript/4358/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0fc871dbe81398c2743a9d36f2ddc78242ff55999a7d35c294914aeef4da50d7/NativeScript/NativeScript/issues/4358 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0fc871dbe81398c2743a9d36f2ddc78242ff55999a7d35c294914aeef4da50d7/NativeScript/NativeScript/issues/4358 |
| og:image:alt | On iOS the HtmlView padding is not being set at all. For example: |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | PeterStaev |
| hostname | github.com |
| expected-hostname | github.com |
| None | e0b95d743b7672c9ac0e1032d5f117950182dc164a83434a7db86510e8f0b37c |
| turbo-cache-control | no-preview |
| go-import | github.com/NativeScript/NativeScript git https://github.com/NativeScript/NativeScript.git |
| octolytics-dimension-user_id | 7392261 |
| octolytics-dimension-user_login | NativeScript |
| octolytics-dimension-repository_id | 31492490 |
| octolytics-dimension-repository_nwo | NativeScript/NativeScript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 31492490 |
| octolytics-dimension-repository_network_root_nwo | NativeScript/NativeScript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 56fe7e2e8de6e57740bca50402351ea656f7a4bf |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width