Below you can see the front-view size comparison of the Fujifilm X10 and Nikon P7800. The Fujifilm X10 is 2 mm narrower and 8 mm shorter than the Nikon P7800 but it is also 7 mm thicker.
The chart below depicts how two cameras compare with average dimensions of the cameras in their class.