LCL, grids, fixed last column autosize, issue #9774

git-svn-id: trunk@12192 -
This commit is contained in:
jesus 2007-09-27 04:56:57 +00:00
parent b2eddb8790
commit eed0018de7

View File

@ -1697,6 +1697,8 @@ begin
// of the columns must fill completly the grid's
// available width, let it be that column the last
ForcedIndex := ColCount-1;
if ForcedIndex>=FixedCols then
Dec(FixedSizeWidth, GetColWidths(ForcedIndex));
Count := 1;
end else
ForcedIndex := -1;