Minimum table cell width

General TRichView support forum. Please post your questions here
Post Reply
robnet
Posts: 3
Joined: Sat Mar 18, 2006 2:33 pm

Minimum table cell width

Post by robnet »

I am trying to set a table cell width to fit its contents. Is there a method in table that does this, or do the width of the contents need to be calculated in pixels, and then the cell bestwidth set to that?

The cell contents are text.

Br,

Robnet
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

If wrapping is turned off in the cell paragraph (see RVStyle.ParaStyles[].Options), the cell cannot be narrower than required for its content.
Otherwise, fit-content mode is not supported.
Post Reply