Changeset 193 for branches/highdpi/LocalPlayer/MessgEx.pas
- Timestamp:
- May 7, 2020, 7:05:57 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/highdpi/LocalPlayer/MessgEx.pas
r179 r193 177 177 0: 178 178 begin 179 Left := ( Screen.Width - ClientWidth) div 2;180 Top := ( Screen.Height - ClientHeight) div 2 - MapCenterUp;179 Left := (DpiScreen.Width - ClientWidth) div 2; 180 Top := (DpiScreen.Height - ClientHeight) div 2 - MapCenterUp; 181 181 end; 182 182 1: 183 183 begin 184 Left := ( Screen.Width - ClientWidth) div 4;185 Top := ( Screen.Height - ClientHeight) * 2 div 3 - MapCenterUp;184 Left := (DpiScreen.Width - ClientWidth) div 4; 185 Top := (DpiScreen.Height - ClientHeight) * 2 div 3 - MapCenterUp; 186 186 end; 187 187 -1: 188 188 begin 189 Left := ( Screen.Width - ClientWidth) div 4;190 Top := ( Screen.Height - ClientHeight) div 3 - MapCenterUp;189 Left := (DpiScreen.Width - ClientWidth) div 4; 190 Top := (DpiScreen.Height - ClientHeight) div 3 - MapCenterUp; 191 191 end; 192 192 end;
Note:
See TracChangeset
for help on using the changeset viewer.