Below you can see the front view size comparison of Leica X Vario and Sony A7R IV. Sony A7R IV is 4mm narrower and 17mm thinner than Leica X Vario but it is also 23mm taller.
Leica X Vario vs Sony A7R IV - Front View
The chart below depicts how two cameras compare with average dimensions of the cameras in their class.
Camera Size Comparison
Select Two Cameras for Size Comparison