Search found 1 match

by smithclarkson01
Sun Sep 29, 2019 8:01 pm
Forum: Support
Topic: Adding column width in percentage
Replies: 1
Views: 13995

Re: Adding column width in percentage

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 ...