Resize the chat box using an aspect ratio.