So, basically, this method ensures that the recipient panel's max height is the available space - the composer's min height. Because it's black magic, the max height of the recipients panel equals the max height of the composer.