For years we had been developing all these UI elements with lots of pain and then recently we got this add on from a fellow programmer.. Its called MeasureIt.
Install it and it will appear in the lower left corner of the page. With it you can measure any button, any line or drawing and instantly find out it’s dimensions. It truly is a boon for all you Pro’s.
You can get it here