Below you can see the front-view size comparison of the Canon G1 X III and Panasonic GX8. The Canon G1 X III is 18 mm narrower and 12 mm thinner than the Canon G1 X III but they have the same height of 78 mm.
The chart below depicts how two cameras compare with average dimensions of the cameras in their class.