I have a VirtualStringTree with a Header.Column set to taLeftJustify
(default).
Is there a way to set the cells/nodes of that column to taRightJustify
so that the nodes will be justified to the right, but the header column text will be justified to the left?
This is my desired result (in column 1):
I'm using a rather old VT version 4.5.5
For Column caption alignment use:
Header.Columns[x].CaptionAlignment := taLeftJustify;
and for nodes alignment:
Header.Columns[x].Alignment := taRightJustify;
x = your column