- Home /
 
               Question by 
               johnnyk427 · Jul 03, 2012 at 03:04 AM · 
                guitexture2d  
              
 
              Non-uniform scale textures in GUI
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));
               Comment
              
 
               
              Answer by Bunny83 · Jul 03, 2012 at 03:11 AM
Just check your import settings of your texture. The texture type should be GUI and not "Texture".
Your answer
 
 
              koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                