Below you can see the front-view size comparison of the Panasonic FZ300 and Samsung NX30. The Samsung NX30 is 5 mm narrower and 59 mm thinner than the Panasonic FZ300 but it is also 4 mm taller.
The chart below depicts how two cameras compare with average dimensions of the cameras in their class.