I’ve imported a texture that is taller than it is wide, however when I display it in my GUI it’s stretched horizontally to force it to be a square. How can I prevent this?
I’m displaying it as so:
GUILayout.Label(action,GUILayout.Width(20.0f));
I’ve imported a texture that is taller than it is wide, however when I display it in my GUI it’s stretched horizontally to force it to be a square. How can I prevent this?
I’m displaying it as so:
GUILayout.Label(action,GUILayout.Width(20.0f));
Just check your import settings of your texture. The texture type should be GUI and not “Texture”.