Below you can see the front-view size comparison of the Panasonic LS5 and Pentax MX-1. The Panasonic LS5 is 25 mm narrower and 24 mm thinner than the Pentax MX-1 but it is also 1 mm taller.
The chart below depicts how two cameras compare with average dimensions of the cameras in their class.