added outer height calculation for label element