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

Custom Font, Bold, Android

$
0
0

When I use a custom font in a label on Android then change the label to bold through the code-behind the custom font is lost. This happens even when the custom label rendered resets the custom font in the OnElementChanged event. The only way around it was for me to avoid using FontAttributes.Bold altogether, create my own Bold property on a custom renderer and make the change in the renderer.

Looks like a bug to me.


Viewing all articles
Browse latest Browse all 77050

Trending Articles



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