Below you can see the front-view size comparison of the Canon G5 X and Panasonic G85. The Canon G5 X is clearly the smaller of the two cameras. Its body is 16mm narrower, 13 mm shorter and 30 mm thinner than the Panasonic G85.
The chart below depicts how two cameras compare with average dimensions of the cameras in their class.