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