No, the M8 screen is still a bit larger even with the on screen buttons showing. Side by side it appears smaller because it is slightly shorter than the M7 screen but it is also a bit wider.
The M7 is a true 4.7" while the M8 with on screen buttons showing is about 4.75".