Webview font size issues

JordanMaxJordanMax USMember ✭✭

So just trying to understand what's going on here. I have a webview as so:

<ContentView x:Name="WebViewStory1" Padding="0"> <controls:WebViewer VerticalOptions="FillAndExpand" HorizontalOptions="FillAndExpand" /> </ContentView>

Code Behind

webview1.HeightRequest = 1; webview1.LoadHTML("<font face='arial'>" + "(" + App.Story.SourceName + ") - " + App.Story.Paragraph1 + "</font>");

Nothing is wrong, this loads in my text fine. The issue is this, when I come into the page on portrait (as seen in screenshot 1):

and then turn the device to landscape the text becomes huge, as seen in this screenshot (2):

But when you go into page in landscape mode (without going into it in portrait) the text size is fine as so:


Sign In or Register to comment.