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