jvcllaz: Increase ItemHeight of TDBLookupList (was truncated in Linux).

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6960 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
wp_xxyyzz
2019-05-27 17:27:14 +00:00
parent 1208e21319
commit b211118a1a
4 changed files with 102 additions and 80 deletions

View File

@ -1068,7 +1068,7 @@ end;
function TJvLookupControl.DefaultTextHeight: Integer;
begin
//Result := Screen.SystemFont.GetTextHeight('Mg'); //Canvas.TextHeight('Mg');
Result := Font.GetTextHeight('Mg');
Result := Font.GetTextHeight('Mg') + 4;
end;
function TJvLookupControl.GetTextHeight: Integer;