Derive height of text-edits in dialogs from message widget