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

How to change font size unit? Or make fonts appear the same size on different devices?

$
0
0

I think I already know the answer, but I have to ask. So we developed an update which includes an option for users to have larger text size. Apparently, they didn't notice this until now because they want the font size to be the same on smaller phones and big phones. (even though the app had different font sizes before we did this, but i digress). So we see that the same number of words is consistent whether it's an iPhone 5 or iPhone 6S+. And I understand we just give the FontSize attribute a value and the phone determines how big it should be.

Is there any way to force it to be the same font size no matter what kind of phone it is? Before I get backlash, I am not setting a different FontSize value. It's the same, but depending on how big or small your actual phone is, it might APPEAR to be bigger or smaller. Which we would like to do away with.

I also understand that FontSize uses points for iOS, and DP for Android. So I guess the only way to achieve what management wants is to (if we can) change the unit to pixels or something? Obviously, I'm pretty confused because this seems to be working as expected, just a really odd request from management which I hope someone has some insight on?


Viewing all articles
Browse latest Browse all 77050

Trending Articles