In TRichView/ScaleRichView, like in HTML, widths of columns are calculated by widths of its cells.
To assign widths in percentage, use negative values of Cell.BestWidth:
CODE: SELECT ALL
table.Cells[0, 0].BestWidth := -60;
table.Cells[0, 1].BestWidth := -20;
table.Cells[0, 2].BestWidth := -30 ...
Search found 1 match
- Sun Sep 29, 2019 8:01 pm
- Forum: Support
- Topic: Adding column width in percentage
- Replies: 1
- Views: 13995