Skip to content

[iOS] HtmlView padding is ignored #4358

@PeterStaev

Description

@PeterStaev

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'>TEST</span>"/>

renders like:
screen shot 2017-06-12 at 4 45 10 pm

The 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.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions