HtmlLabelPlugin
HtmlLabelPlugin copied to clipboard
iPadOS app running on Macbook M1
I have a issue that both text and background color get white on a HtmlLabelPlugin when running an iPadOS app on M1 Mac. Links seems to be correctly
On iPad the text is black and the background is white, as expected.
The control version is 5.0.0
I have tested with and without style on body tag.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
</head>
<body style="color:black; background-color:white">
<H2>Some text</H2>
</body>
</html>
Testing this have not been easy, i have to released the app via App Store Connect regular review process to deploy to M1 Mac. I have not found any examples how to debug iPadOS app on M1 Mac with Visual studio right now.
Tested to to add this to app.xaml
<Style ApplyToDerivedTypes="True" TargetType="htmlLabel:HtmlLabel">
<Setter Property="TextColor" Value="Black" />
</Style>
The content in html label is still white on white except links on Macbook Air M1. It seems that the height for the text is there, the blue links is a half page down.
Hi, unfortunately I have no way to test or debug this at the moment
I've got a M1 Mac so I might be able to help here 😁
Does it make a difference if your iOS has dark mode on or off?