Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS formatting issue #130

Open
IeuanWalker opened this issue Mar 11, 2021 · 3 comments
Open

iOS formatting issue #130

IeuanWalker opened this issue Mar 11, 2021 · 3 comments

Comments

@IeuanWalker
Copy link
Contributor

Formatting on iOS goes weird after version 5.0.0.alpha3

5.0.0.alpha3 -
image

5.0.0 and 5.0.0.alpha4 -
image

@matteobortolazzo
Copy link
Owner

Hi, where the padding in Android comes from?

@IeuanWalker
Copy link
Contributor Author

IeuanWalker commented Mar 13, 2021

@matteobortolazzo On the control it self, this is my XAML -

  <abstractions:HtmlLabel x:Name="HtmlLabel"
                                Padding="15"
                                AndroidListIndent="0"
                                BackgroundColor="Transparent"
                                HorizontalOptions="FillAndExpand"
                                LineHeight="1.2"
                                LinkColor="{DynamicResource TextLinkColour}"
                                Text="{Binding Html, Source={x:Reference MarkdownViewName}}"
                                TextColor="{DynamicResource TextPrimaryColour}"
                                VerticalOptions="FillAndExpand" />

For some reason, iOS loses the padding + adds a lot of space to the top.

@matteobortolazzo
Copy link
Owner

About the padding I think it's because I set it to 0 as there were issues with alpha3, about the top, I don't know, I have to investigate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants