mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
Fix #1187: wrong height of Header in empty TColumnsFileView
This commit is contained in:
parent
85720b46e3
commit
623358eb14
1 changed files with 2 additions and 1 deletions
|
|
@ -661,7 +661,8 @@ begin
|
|||
FUpdatingActiveFile := True;
|
||||
dgPanel.RowCount := dgPanel.FixedRows + Count;
|
||||
// to add fake bottom padding for last row
|
||||
dgPanel.RowHeights[dgPanel.RowCount - 1] := dgPanel.DefaultRowHeight + CELL_PADDING;
|
||||
if Count>0 then
|
||||
dgPanel.RowHeights[dgPanel.RowCount - 1] := dgPanel.DefaultRowHeight + CELL_PADDING;
|
||||
FUpdatingActiveFile := False;
|
||||
end;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue