texture on object get stretched

Hello,

I need some help about applying same material on different sized object.

I have taken a rectangular(bar) image as texture and need to apply on different bars having different scale.
now, when i apply this textured material on different scaled bar it get stretched or blurs. So , should i use proper size images for each bars or is there any other way to do this ?

Thank You.

Are you talking GUI or 3D? In the textures’s import settings, choose ‘GUI’ for Texture Type, see if that helps.

I am talking about texture material. I try GUI but not working…