Below you can see the front-view size comparison of the Panasonic LX100 and Canon G5 X. The Canon G5 X is 3 mm narrower and 11 mm thinner than the Panasonic LX100 but it is also 10 mm taller.
The chart below depicts how two cameras compare with average dimensions of the cameras in their class.