Xamarin label (TextType="Html") adds extra space at the bottom of the label.

Uragonda, Rajesh 31 Reputation points

Below is the sample text to reproduce the issue.

<p><em>eoiureo</em> oiueio <u>ueoiroierueoi</u> eoirueoirueioruieor eioru eoiruo</p>

It adds and extra space at the bottom due to html tags such as <p></p>.

Is there any workaround to remove the space at the bottom.


A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,326 questions
{count} votes

Accepted answer
  1. Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 38,911 Reputation points Microsoft Vendor


    It's indeed an existing issue which had been submitted on Github: Label takes more height when TextType is "Html".

    Thanks for your feedback.

    Best Regards,

    Alec Liu.

    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

0 additional answers

Sort by: Most helpful