Did you know ... Search Documentation:
dialog->_compute_desired_size