Page 1 of 1
Table Layout options
Posted: Thu Apr 06, 2006 9:41 pm
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?
Posted: Fri Apr 07, 2006 7:35 am
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.