Changeset 193 for branches/highdpi/LocalPlayer/Battle.pas
- Timestamp:
- May 7, 2020, 7:05:57 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/highdpi/LocalPlayer/Battle.pas
r179 r193 212 212 OKBtn.Visible := true; 213 213 CancelBtn.Visible := true; 214 Left := ( Screen.Width - ClientWidth) div 2; // center on screen215 Top := ( Screen.Height - ClientHeight) div 2;214 Left := (DpiScreen.Width - ClientWidth) div 2; // center on screen 215 Top := (DpiScreen.Height - ClientHeight) div 2; 216 216 end 217 217 else
Note:
See TracChangeset
for help on using the changeset viewer.