refactored form element can calculate height for it self.