ide: packager: adapt after r54816 #43e271b439. Issue #31762 and #31715

git-svn-id: trunk@54843 -
This commit is contained in:
ondrej 2017-05-08 21:42:55 +00:00
parent 2abbee1637
commit dcdcafb794

View File

@ -79,7 +79,7 @@ begin
Cells[0, 0] := lisConfirmPackageNewPackageSet;
Cells[1, 0] := lisConfirmPackageAction;
Cells[2, 0] := lisConfirmPackageOldPackageSet;
d := RowCount * (DefaultRowHeight + GridLineWidth) - Height;
d := RowCount * (GetRealDefaultRowHeight + GridLineWidth) - Height;
end;
// Auto-grow dialog up to 3/4 of the screen height.
d := Min(d, Screen.Height * 3 div 4 - Height);