mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-09-21 20:06:40 +00:00
a5b5331fa4
The issue was that the rright value was 100%. That's why the buttons would always extend across the full width of the screen. Replacing the value right in the XML would result in an invalid size, so we can remove it from there and create a full, separate size in the code each time (Object.assign just edits it), since the top and bottom values specified in the XML were overwritten anyway. And since the left margin of 3 is fixed, we better move it to the parent object to avoid a constant like that in the code. Fixes #8322