Issue with cell text wrap

General TRichView support forum. Please post your questions here
Post Reply
liisi
Posts: 4
Joined: Mon Sep 09, 2019 12:39 pm

Issue with cell text wrap

Post by liisi »

Hi,

I have a table with text and spaces in the end.
The full date should fit into the cell but in RichView ActionsTest demo application it seems to push the date to two rows.
In WordPad for example it shows the full date on one row.

Please advise.
Attachments
Date.rtf
(816 Bytes) Downloaded 925 times
Date.png
Date.png (73.3 KiB) Viewed 9141 times
Sergey Tkachenko
Site Admin
Posts: 17566
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: Issue with cell text wrap

Post by Sergey Tkachenko »

This means that the text does not fit.
ScaleRichView and Wordpad may calculate text width slightly differently (in different DPI). One pixel difference - and the text will be wrapped.
To make sure that it is not wrapped, you can set "no wrap" flag for the paragraph in ScaleRichView.

Also, Wordpad ignores any count of ending spaces, while ScaleRichView counts line width with them.
Post Reply