That's strange, on my test, the right edge appears to have the same spacing as the left. I would think it's a design thing so there is automatically space between the objects without having to line them up manually.
As can be seen when changing the background colour, its the images the togglebutton displays and not the togglebutton size that contains the space.