IDE: object inspector: use font for default row height calculation - higher to match old value

git-svn-id: trunk@63969 -
This commit is contained in:
ondrej 2020-10-08 07:08:43 +00:00
parent 999954fab8
commit 0e850a7b51

View File

@ -1464,7 +1464,7 @@ function TOICustomPropertyGrid.RealDefaultItemHeight: integer;
begin
Result := FDefaultItemHeight;
if (Result<=0) then
Result := Canvas.TextHeight('Hg')*5 div 4 + 2;
Result := Canvas.TextHeight('Hg')*5 div 4 + 4;
end;
function TOICustomPropertyGrid.GetRowByPath(const PropPath: string): TOIPropertyGridRow;