[Lazarus] IDE Font issue

zeljko zeljko at holobit.net
Mon Feb 21 16:10:55 CET 2011


On Monday 21 of February 2011 16:08:34 Michael Van Canneyt wrote:
> Hi,
> 
> I attached a small image of the SQL editor of TSQLQuery.
> Lazarus version of today.
> 
> The code in sqlstringspropertyeditordlg.pas (components/sqldb):
> 
> constructor TSQLStringsPropertyEditorDlg.Create(AOwner: TComponent);
> begin
>    inherited Create(AOwner);
>    SourceEditorManagerIntf.GetEditorControlSettings(SQLEditor);
>    SourceEditorManagerIntf.GetHighlighterSettings(SQLHighlighter);
>    EditorTabSheet.Caption := SSQLTabCaption;
>    ResultTabSheet.Caption := SResultTabCaption;
> end;
> 
> Suggests that the font in the SQL property editor should be the
> same as the source editor font. From the attached image, it is
> clear that they are different.
> (Probably it is the same typeface, but the font in the SQL editor
> is much smaller as in the source editor)
> 
> I assume this is a bug ? How can I fix this ?

hm...looks like mismatch between Font.Size and Font.Height 

zeljko




More information about the Lazarus mailing list