I installed a trial of Delphi Seattle and compiled my system, but I realized that when opening a certain query the column is not the size I determined previously. When compiling in Delphi 7 the columns are the correct size.
This is a BUG that affects only the first column of the DBGrid and StringGrid. It has been fixed in RAD Studio 10 Seattle Update 1.
More details on the link below:
RSP-11797 - VCL TStringGrid.ColWidths is broken
You can fix this at runtime by using the AfterOpen event of your table, for example:
procedure TForm1.ClientDataSet1AfterOpen(DataSet: TDataSet);
begin
DBGrid1.Columns[0].Width := 200;
end;
Eduardo Belo
VCL.Grids.pas
in the folder of your project. TCustomGrid.ChangeScale
. Reference: link