How I can auto-position GUI object using scale, but with same amount for X and Y?

Hello guys. I’m trying to design my inventory system. But I run into 1 problem - IDK how to make X and Y offsets equal using scale:


This one:
image
image
I want it to be like:
image
So X and Y offsets are equals. Is it possible to make without scripting, but with UIConstraints?

I usually just place extra frames and then set the positioning to Top and Left