TAdvStringGrid fixed font and high DPI


I am trying to find a good scale for the form designer and while playing with the vlaues I noticed that the fixed font in the latest version does not adjust to changes. Can you please confirm this? (Parent Font is disabled)



How to reproduce this?
I tested this here and couldn't see an issue. Test is with setting grid.FixedFont.Size := 14 and the code:

procedure TForm3.Button1Click(Sender: TObject);
advstringgrid1.Cells[0,0] := 'test';
advstringgrid1.Cells[1,1] := 'test';

applied to a default grid.

This shows a label with a font identical to grid.FixedFont


Thank you for your prompt reply!

I simply change the VCL Designer High DPI mode from Low DPI to Automatic, and when I open my form the fixed font size appears too small.

Is this Delphi 11 or Delphi 11.1?
There are several known issues & shortcomings with the approach from Embarcadero with switching between high DPI designer and 96DPI designer. The designer adapts control.Font itself in some scenarios and not in other scenarios and can't and doesn't do it for other font properties. We recommend to stick to one form designer mode (which is also what Embarcadero recommends for teams).

Delphi 11.1 .... thank you for your suggestion! I will do as suggested :slight_smile: