View/Ruler: Calculate and use tick precision