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