mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-26 19:23:49 +02:00
IDE/SourceEditor: Fix high-dpi position of Replace prompt dialog. Issue #37985.
git-svn-id: trunk@64728 -
This commit is contained in:
parent
8445edd27f
commit
93ff7806b5
@ -3793,7 +3793,7 @@ begin
|
||||
|
||||
AText:=Format(lisUEReplaceThisOccurrenceOfWith,[Shorten(ASearch),LineEnding,Shorten(AReplace)]);
|
||||
|
||||
GetDialogPosition(300,150,X,Y);
|
||||
GetDialogPosition(FEditor.Scale96ToFont(300), FEditor.Scale96ToFont(150), X, Y);
|
||||
a:=MessageDlgPos(AText,mtconfirmation,
|
||||
[mbYes,mbYesToAll,mbNo,mbCancel],0,X,Y);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user