[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Corrects the design-time PPI for the column title.
Source position: grids.pas line 491
public procedure TGridColumnTitle.FixDesignFontsPPI( |
const ADesignTimePPI: Integer |
); virtual; |
FixDesignFontsPPI is a procedure used to correct the design-time Pixels Per Inch setting for the component. Pixels Per Inch for Fonts is not saved in LFM files, and the design-time setting may differ from the run-time setting on a target machine. This adversely affects font scaling.
FixDesignFontsPPI calls the DoFixDesignFontPPI method in the Grid control for the column to adjust the font PPI to the value specified in ADesignTimePPI.
|
The Font for the column title. |
|
|
The Grid to which this column belongs. |
|
|
Applies the design-time PPI and resizes the specified control font. |
lazarus-ccr.sourceforge.net |