Common method to wrap text. Thanks @lazertester