Gui Text appears higher during runtime

#1

My Gui text’s y position is higher than it is in my visual editor when I start the game. Why is this and how can I fix it?

0 Likes

#2

The gui will adjust positions and size of nodes depending on the screen size and aspect ratio. If the device you are testing on differs in size or aspect ratio from the dimensions defined in game.project you will experience this. Learn more here:

0 Likes

#3

So how do I counter-act this?

0 Likes

#4

I think you need to share more about your problem. A screenshot and your GUI layout at least. Did you read the section on pivot and anchors?

2 Likes

#5

Yeah this helped eventually. I fixed it by setting the size of the text boxes to be really small and changing the pivot property.

0 Likes