What is the simplest way to set the font size for the entire grid ?
This includes the fixed rows too.
I'm struggling with styles and can't quite find where the base grid font would be.
Each grid cell implements a Layout property that can be accessed in the OnGetCellLayout event:
The Layout contains properties for the visual appearance of a cell.
procedure TForm1.TMSFMXGrid1GetCellLayout(Sender: TObject; ACol,
ARow: Integer; ALayout: TTMSFMXGridCellLayout; ACellState: TCellState);
begin
ALayout.Font.Size := 20;
end;
Kind Regards,
Scheldeman Pieter