auto height for gauge