How can I make the cursor the right size on a 4k monitor?

Since I have a 4k screen,


gives me a cursor that is way too small.

Is there a simple way to make the cursor automatically be the right size? (I want my program to work for people with any screen size).