By clicking on this icon once, you can measure the distance between two points in your lay-out.
Click on the first point, then click on the second point. A small window will appear showing the distance between the two selected points. After using the ruler, the function will automatically be deactivated.