I have been trying to make a proper scrolling inventory UI for my game and have had much success in getting the canvas to automatically change its size according to the size of the content within it; however, this required me to size those elements using Offset, which I normally never would do. Because of this, whenever I change my screen size, the elements in the scrolling frame do not adjust accordingly.

Does any one know a good way to make them scale without actually scaling them?

Any help would be much appreciated.