Below you can see the front-view size comparison of the Fujifilm XP80 and Pentax WG-3. The Fujifilm XP80 is 20 mm narrower and 7 mm thinner than the Pentax WG-3 but it is also 3 mm taller.
The chart below depicts how two cameras compare with average dimensions of the cameras in their class.