Below you can see the front-view size comparison of the Olympus TG-870 and Panasonic GF7. The Olympus TG-870 is 1 mm shorter and 5 mm thinner than the Panasonic GF7 but it is also 6 mm wider.
The chart below depicts how two cameras compare with average dimensions of the cameras in their class.