mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 11:39:28 +02:00
lcl, fix TDbgrid wrong width of first column if FixedCells>1 and dgIndicator is turned off, issue #35716
git-svn-id: trunk@61740 -
This commit is contained in:
parent
f13e53bf2f
commit
563a44c1d6
@ -2582,7 +2582,7 @@ function TCustomGrid.GetColWidths(Acol: Integer): Integer;
|
||||
var
|
||||
C: TGridColumn;
|
||||
begin
|
||||
if not Columns.Enabled or (aCol<FixedCols) then
|
||||
if not Columns.Enabled or (aCol<FirstGridColumn) then
|
||||
begin
|
||||
if IsColumnIndexValid(aCol) then
|
||||
Result:=FCols[aCol]
|
||||
|
Loading…
Reference in New Issue
Block a user