|
Table Resizing |
Top Previous Next |
|
Table Layout Algorithm Tables do not have column widths and row heights specified explicitly. Widths are calculated basing on:
Heights are calculated basing on:
Rules for calculations table width:
Rules for calculating widths of cells are quite complicated. The most important rules (when widths of cells are conflicting):
Resizing with Mouse Resizing with mouse is possible only in editor. If you include rvtoRowSizing and rvtoColSizing in table.Options, users will not be able to resize it. When user resizes table with mouse, he/she actually changes values of BestWidth or BestHeight properties of cells. When resizing columns with mouse, and columns to the left and to the right do not have cells with BestWidths in %, RichViewEdit adjusts BestWidths of cells of column to the right and to the left, trying to keep their total width unchanged. When resizing with pressed Shift key, RichView sets only BestWidths of the column to the left. |