Below you can see the front-view size comparison of the Sony A99 II and Panasonic G9. The Panasonic G9 is 6 mm narrower and 7 mm shorter than the Sony A99 II but it is also 16 mm thicker.
The chart below depicts how two cameras compare with average dimensions of the cameras in their class.