Below you can see the front-view size comparison of the Leica X Vario and Leica Q. The Leica Q is 3 mm narrower and 2 mm thinner than the Leica X Vario but it is also 7 mm taller.
The chart below depicts how two cameras compare with average dimensions of the cameras in their class.