TableView.ColumnInfo

Passed to setColumnInfo

Members

Variables

alignment
TextAlignment alignment;

Alignment of the text in the cell. Applies to the header as well as all data in this column.

name
const(char)[] name;

the name displayed in the header

width
int width;

The default width, in pixels. As a special case, you can set this to -1 if you want the system to try to automatically size the width to fit visible content. If it can't, it will try to pick a sensible default size.

widthPercent
int widthPercent;

After all the pixel widths have been assigned, any left over space is divided up among all columns and distributed to according to the widthPercent field.

Meta