mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-10 09:37:20 +01:00
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:
parent
999954fab8
commit
0e850a7b51
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user