I was quite puzzled that whenever I go FullScreen on 4k display, there’s a border on the right side. I typically test on lower, windowed resolutions so I didn’t pay much attention to it so far. Apparently, the TCastleWindow has a default value MaxWidth = 4000, same for MaxHeight. I know it’s described in documentation but I never knew I’d have to check the meaning of the Width property
The 4k displays are 4096 pixels, so it’s just little bit more than the default, and now I know I have to change it for every new app. But if it isn’t too much to ask for, could that value be changed in the CGE source (CastleWindow.pas) to better reflect modern display capabilities? I know you’re busy with other TODOs, so I don’t push, it’s just a small QoL thing anyway.