Below you can see the front-view size comparison of the Sony A6300 and Panasonic FZ28. The Sony A6300 is 8 mm shorter and 40 mm thinner than the Panasonic FZ28 but it is also 2 mm wider.
The chart below depicts how two cameras compare with average dimensions of the cameras in their class.