This is my first post here and also i'm bad with math so don't be mad at me :)
Here is my issue, i have a box and i have another box inside, now i want that box inside to be at exactly same distance from each side, no matter what size it parent is.
Now i know how to calculate the distance from the sides, but i can't figure how to get right box dimensions. To make thing more clear i draw this example:
I hope i make some sense here :)