You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 1, 2024. It is now read-only.
When text is added to HTML label, if you set line break mode, it won't be applied.
Steps to Reproduce
Ia simple page, add a label <Label x:Name="HtmlLabel" TextType="Html" WidthRequest="100" LineBreakMode="MiddleTruncation" HorizontalOptions="Start" TextColor="Black"/> <Label x:Name="HtmlLabel2" TextType="Html" WidthRequest="100" LineBreakMode="MiddleTruncation" HorizontalOptions="Start" TextColor="Black"/>
Create Html text and add it to the label HtmlText = @" <a href=\""https://doumer.me\"">Click here aksdnf klajnsdfklansd faklsdn fasdof asdophf al;kfasdfaoisdfoasdf aosdfao</a>"; HtmlText2 = @"<h1>Click here aksdnf klajnsdfklansd faklsdn fasdof asdophf al;kfasdfaoisdfoasdf aosdfao</h1>"; HtmlLabel.Text = HtmlText; HtmlLabel2.Text = HtmlText2;
Run app, and notice linebreak mode does not apply.
Expected Behavior
Line break mode should apply on HTML labels too.
Actual Behavior
LIne break mode doesn't apply on html labels
Basic Information
Version with issue: 5.0
Last known good version: none
Platform Target Frameworks:
iOS: All
Android: All
The text was updated successfully, but these errors were encountered:
Description
When text is added to HTML label, if you set line break mode, it won't be applied.
Steps to Reproduce
Ia simple page, add a label
<Label x:Name="HtmlLabel" TextType="Html" WidthRequest="100" LineBreakMode="MiddleTruncation" HorizontalOptions="Start" TextColor="Black"/> <Label x:Name="HtmlLabel2" TextType="Html" WidthRequest="100" LineBreakMode="MiddleTruncation" HorizontalOptions="Start" TextColor="Black"/>
Create Html text and add it to the label
HtmlText = @" <a href=\""https://doumer.me\"">Click here aksdnf klajnsdfklansd faklsdn fasdof asdophf al;kfasdfaoisdfoasdf aosdfao</a>";
HtmlText2 = @"<h1>Click here aksdnf klajnsdfklansd faklsdn fasdof asdophf al;kfasdfaoisdfoasdf aosdfao</h1>";
HtmlLabel.Text = HtmlText;
HtmlLabel2.Text = HtmlText2;
Run app, and notice linebreak mode does not apply.
Expected Behavior
Line break mode should apply on HTML labels too.
Actual Behavior
LIne break mode doesn't apply on html labels
Basic Information
The text was updated successfully, but these errors were encountered: