Table Layout options

General TRichView support forum. Please post your questions here
Post Reply
Hanno
Posts: 22
Joined: Sun Mar 05, 2006 12:28 pm

Table Layout options

Post by Hanno »

Hi Sergey,

In Table Layout there are three sizing options:
- Autosize
- Size table to fit window
- Size table manually

Apart from the obvious, what is the difference in real terms between the first two options?
Sergey Tkachenko
Site Admin
Posts: 17569
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Well, may be the options are really not clear (they were borrowed from MS Word). Very probably, this dialog will be redesigned in future.
By the way, names of options were changed in newer RichViewActions

Autosize: table.BestWidth=0, BestWidths of all cells are defined in pixels so that the table has width equal to the current window size (or slightly less). In this case, width of table is calculated as a sum of widths of its columns. If the editor window is resized, table is not resized.

Fit window: table.BestWidth=-100 (i.e. 100%), BestWidths of cells are undefined. Such table always has width of editor window/page.
It's the same as Custom size with width=100%.

Custom size: allows to set table.BestWidth to the specified value in pixels or percents. BestWidths of cells are undefined.
Post Reply