When WordWrap is enabled, text should wrap automatically to the next line when it reaches the right margin of the rich text control. But, in PowerBuilder 10.5.2, although WordWrap is enabled in a rich text control, the text is not wrapped correctly. This occurs because PowerBuilder sets 8 ½" x 11" as the default page size for the control. To work around this issue, set the following variable in the pb.ini file:
[RichText] PageSizeAsControlSize=1
If you set this variable to 1, the page size will be the same as the control size. [CR 441593]