mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-07 04:18:48 +02:00
IDE: highDPI: support source editor (editor toolbar).
git-svn-id: trunk@53545 -
This commit is contained in:
parent
bbef187785
commit
c22bc4f0c3
@ -219,6 +219,9 @@ begin
|
||||
CfgItem.OnClick := @FCollection.DoConfigureEditorToolbar;
|
||||
|
||||
FToolBar.PopupMenu := xPM;
|
||||
|
||||
if FWindow.PixelsPerInch<>96 then
|
||||
FToolBar.AutoAdjustLayout(lapAutoAdjustForDPI, 96, FWindow.PixelsPerInch, 0, 0, False);
|
||||
end;
|
||||
|
||||
destructor TEditorToolbar.Destroy;
|
||||
|
@ -8,7 +8,8 @@ object SourceNotebook: TSourceNotebook
|
||||
ClientHeight = 300
|
||||
ClientWidth = 400
|
||||
OnMouseUp = FormMouseUp
|
||||
LCLVersion = '1.5'
|
||||
LCLVersion = '1.7'
|
||||
Scaled = True
|
||||
object StatusBar: TStatusBar
|
||||
Left = 0
|
||||
Height = 20
|
||||
|
Loading…
Reference in New Issue
Block a user