Below you can see the front-view size comparison of the Ricoh WG-50 and Panasonic GF8. The Ricoh WG-50 is 3 mm shorter and 3 mm thinner than the Panasonic GF8 but it is also 16 mm wider.
The chart below depicts how two cameras compare with average dimensions of the cameras in their class.