mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-25 06:19:12 +02:00
IDE: scale sourceeditor. Issue #31753
git-svn-id: branches/fixes_1_8@55697 -
This commit is contained in:
parent
5f1ddc0419
commit
307148c6a6
@ -4918,6 +4918,8 @@ Begin
|
||||
RegisterMouseActionExecHandler(@EditorHandleMouseAction);
|
||||
// IMPORTANT: when you change above, don't forget updating UnbindEditor
|
||||
Parent := AParent;
|
||||
if AParent.Font.PixelsPerInch<>96 then
|
||||
AutoAdjustLayout(lapAutoAdjustForDPI, 96, AParent.Font.PixelsPerInch, 0, 0);
|
||||
end;
|
||||
Manager.CodeTemplateModul.AddEditor(FEditor);
|
||||
Manager.FMacroRecorder.AddEditor(FEditor);
|
||||
|
Loading…
Reference in New Issue
Block a user