implement text view width-for-height layout in body view