mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-30 19:29:42 +02:00
LCL, grids, fixed last column autosize, issue #9774
git-svn-id: trunk@12192 -
This commit is contained in:
parent
b2eddb8790
commit
eed0018de7
@ -1697,6 +1697,8 @@ begin
|
|||||||
// of the columns must fill completly the grid's
|
// of the columns must fill completly the grid's
|
||||||
// available width, let it be that column the last
|
// available width, let it be that column the last
|
||||||
ForcedIndex := ColCount-1;
|
ForcedIndex := ColCount-1;
|
||||||
|
if ForcedIndex>=FixedCols then
|
||||||
|
Dec(FixedSizeWidth, GetColWidths(ForcedIndex));
|
||||||
Count := 1;
|
Count := 1;
|
||||||
end else
|
end else
|
||||||
ForcedIndex := -1;
|
ForcedIndex := -1;
|
||||||
|
Loading…
Reference in New Issue
Block a user