- Home /
Question by
whisker-ship · Sep 03, 2015 at 09:28 AM ·
uitextanchorfontsize
Re-sizing UI text font relative to screen size
I'm trying to adjust the text size relative to the size of the screen.
I'm using Canvas UI to display text, the UI anchors are working fine with the other UI game objects but not the text. I've tried using the Best Fit options but it always chooses the Max Size no matter what the screen size is.
unity-answers.png
(161.7 kB)
Comment
Best Answer
Answer by amanpu · Sep 03, 2015 at 10:58 AM
For this in your Canvas Scaler Component ,Ui Scale Mode should have Scale With Screen Size option selected.
Hope this helps :)
screen-shot-2015-09-03-at-42159-pm.png
(24.1 kB)
Wow this worked perfectly. So amazing thank you so much!!