There's no magic formula for it. You have to determine the total width of your screen and place your buttons accordingly.
If you leave UIRoot on automatic, then it will place it with the same offset, but based on height - so if the height changes, the placing changes respective to that. If you leave it on manual, then widgets below it will place with "pixels" the size of your manual setting, which may be off from the real pixel size. Changing from 400 height to 600 height in the real screen resolution, would make it so localpositions would translate to 1:1.5, so every time you move your widgets 1 localPosition, you move it 1.5 realpixels (likely making it fuzzy, but that's a different matter).
It is a relatively simple matter to just place it, assuming you make your UIRoot's manual height the real size. Even if you don't it's still just a matter of a little math.
