UI Image scaling broke

So i was working on a shop gui for my game the gui contains image labels but once on different sizes the images stretch!


Regular size


On different sizes

I am assuming you are using a UIGridLayout and you always want to put whatever side it is expanding on with offset instead of scale as when you change the size of the gui it will stretch, to get the offset you can get whenever the absolute content size is and when it changes to put it as the offset achieveing a similar thing to scale but without the stretching