I have two galleries right next to each other in an app separated by a vertical line. For some reason the rectangle separators on each gallery dont match up evenly.

As you can see, the first items line up perfectly, but after that the gap gets consistently bigger for some reason. I am having to use scaling on each X, Y, Width and Height property as this app will be used on mutliple devices, so i made sure each property was exactly the same, but still no luck. Might it be to do with the gallery items for each?
If anyone has any suggestions I would be grateful.
Thanks.