mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
FIX: center delete dialog on DC window (poOwnerFormCenter) instead of screen center
F5/F6 copy/move dialogs already use poOwnerFormCenter with frmMain as owner, which naturally centers them on whichever monitor DC is on. Apply the same to F8: change Position from poScreenCenter to poOwnerFormCenter. No code change needed - all ShowDeleteDialog() calls already pass frmMain as owner, so LCL handles the positioning correctly.
This commit is contained in:
parent
f741daf548
commit
f6ef67678f
1 changed files with 1 additions and 1 deletions
|
|
@ -12,7 +12,7 @@ inherited frmDeleteDlg: TfrmDeleteDlg
|
|||
Constraints.MinWidth = 400
|
||||
KeyPreview = True
|
||||
OnKeyDown = FormKeyDown
|
||||
Position = poScreenCenter
|
||||
Position = poOwnerFormCenter
|
||||
inherited pnlContent: TPanel
|
||||
Height = 1
|
||||
Width = 399
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue