Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

Custom renderer not applied after Font.WithSize()?

$
0
0

Hey,

I am using a custom renderer for my label to apply a different font.
On my Xamarin.Forms page I use "text.Font = text.Font.WithSize (24)" to change the font size. This leads to unpredictable behaviour. Sometimes the correct font is displayed but with standard text size (rarely) but mostly the correct size is displayed but with the wrong font (system font)..
Is there any way to change the font size without applying the same font with an other size?
Or do I need a custom renderer for every font size I whish to use?


Viewing all articles
Browse latest Browse all 58056

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>