Forum Xamarin Xamarin.Forms

FontSize in .XAML vs FontSize in .CS

MigokMigok Member ✭✭

Hi,

Is it normal that this two methods doesnt result to the same size ? The fontsize when set in .cs is much bigger.

.xaml

<Label FontSize="Small"/>

.Cs

FontSize = Device.GetNamedSize(NamedSize.Small, typeof(Label))

Tagged:

Best Answer

Answers

Sign In or Register to comment.