SetMouseCursorWidget location wrong in 4K

byg_ben
Tue, 26 Jun 2018 17:27:30 +0000
C++

We’re using APlayerController::SetMouseCursorWidget to use a UserWidget as our mouse cursor. It works perfectly at regular resolutions, but on a high-DPI 4K monitor, the cursor position is incorrect.

Its position doesn’t seem to be correctly scaled for DPI.

Does anyone know how to fix this?

3 posts - 1 participant