playMaker
Home
Store
Showcase
Tutorials
Forums
Manual
Wiki
About Us
Playmaker Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Join our
Discord Channel
Home
Help
Search
Login
Register
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
GUI Text size[SOLVED]
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: GUI Text size[SOLVED] (Read 1515 times)
dvdkss
Guest
GUI Text size[SOLVED]
«
on:
November 19, 2016, 03:28:02 PM »
I used this method to display lap time:
http://hutonggames.com/playmakerforum/index.php?topic=1711.0
The problem is that the text stretches as I change the aspect ratio of the screen. I managed to fix that by doing this:
//www.youtube.com/watch?v=_9mOh7_xX2o
This way the text won't stretch, but its size will change depending on the screen width. Is there a way to keep the original size of the text and at the same time prevent it from getting stretched when the aspect ratio changes?
I want it to act like sprites, in a sense that it keeps its position, size and width when I set a different aspect ratio.
«
Last Edit: November 24, 2016, 01:55:31 AM by jeanfabre
»
Logged
jeanfabre
Administrator
Hero Member
Posts: 15500
Official Playmaker Support
Re: GUI Text size
«
Reply #1 on:
November 21, 2016, 02:46:04 AM »
Hi,
you are using the new Unity UI right?
you'll need to edit your canvas gameobject and your canvas Scaler component to use scale with screen size Scale mode.
Have you tried that?
Bye,
Jean
Logged
dvdkss
Guest
Re: GUI Text size
«
Reply #2 on:
November 22, 2016, 12:59:20 PM »
Yeah, that was the problem, I was using the old UI.
It works perfectly now, thanks!
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
GUI Text size[SOLVED]