mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-06 07:20:23 +02:00
IDE: object inspector: use font for default row height calculation
git-svn-id: trunk@63968 -
This commit is contained in:
parent
a87befd71c
commit
999954fab8
@ -1464,7 +1464,7 @@ function TOICustomPropertyGrid.RealDefaultItemHeight: integer;
|
||||
begin
|
||||
Result := FDefaultItemHeight;
|
||||
if (Result<=0) then
|
||||
Result := Scale96ToForm(22);
|
||||
Result := Canvas.TextHeight('Hg')*5 div 4 + 2;
|
||||
end;
|
||||
|
||||
function TOICustomPropertyGrid.GetRowByPath(const PropPath: string): TOIPropertyGridRow;
|
||||
|
Loading…
Reference in New Issue
Block a user