Below you can see the front-view size comparison of the Canon 7D MII and Panasonic G9. The Panasonic G9 is 12 mm narrower and 15 mm shorter than the Canon 7D MII but it is also 14 mm thicker.
The chart below depicts how two cameras compare with average dimensions of the cameras in their class.