After I updated to Lazarus 3.4, the DBGrid has a strange behavior when I use predefined columns. Each TColumn has its own minimum and maximum width defined, with the exception of the last column. My intention is that when I redefine the window, the last column has the maximum available width. This worked correctly before, but now the last column only uses the available area if I increase the window too much.
See the link:
https://streamable.com/g44gpk (expire after 2 days)
https://terabox.com/s/1_9iHLxTIvdipc4OXAJ2pxQMy DBGrid as:
Grade_Pesquisa.FixedCols:=0;
Grade_Pesquisa.DefaultRowHeight:=54;
Grade_Pesquisa.AlternateColor:=clMoneyGreen;
Grade_Pesquisa.BorderStyle:=bsNone;
Grade_Pesquisa.AutoEdit:=false;
Grade_Pesquisa.AutoFillColumns:=true;
Grade_Pesquisa.Flat:=true;
Grade_Pesquisa.TitleStyle:=tsNative;
//Grade_Pesquisa.FixedHotColor:=clInfoBK;
Grade_Pesquisa.UseXORFeatures:=false;
Grade_Pesquisa.Options:=
[dgTitles,dgColumnResize,dgColLines,dgColumnMove,dgAlwaysShowSelection, // dgTabs
dgCancelOnExit,dgHeaderPushedLook,dgDisableDelete,dgDisableInsert,
dgCellHints,dgTruncCellHints,dgCellEllipsis,dgRowHighlight,
dgDblClickAutoSize, dgDisplayMemoText];
Grade_Pesquisa.Options:=ADBGrid.Options-[dgRowSelect];
Grade_Pesquisa.ShowHint:=true;