Jump to content
MartinPe

Recommendation on VCL development on 4k monitor

Recommended Posts

I use Delphi 12.3 with the latest patch. 

 

I find that the form view doesn't seem to scale correctly when the application is run. I have found this example. From Embarcadero samples called Windows 10 CRM Demo.

 

I have set the form designer at Automatic (Screen PPI)

 

It seems, in design mode, the buttons are at the right size and position but not at runtime.

 

image.thumb.png.c9786c50ca16c5cfd2149cfc37922ad1.png

 

If I rearange the form on 4k monitor, will that fix it and work in lower resolutions?

In windows, I use the recommanded scaling resolution of 150% for my 4k monitor.

 

Are there other settings I should check? Or send a bug report to Embarcadero?

 

Martin.

 

 

Share this post


Link to post

I only use 125% scaling on my 4K monitor, but it is 49 inches, my old Toshiba TV (got a larger one).  But my second side monitor is 32in at 100% scaling, so I can move applications sideways to easily check the form positioning is correct.  

 

Having started my development life in 1980 with 80x24 terminals, then 14in PC monitors, having large screens with so many open windows side by side really does make life so much easier. 

 

Angus

 

 

Share this post


Link to post

I have a 5K 40" Lenovo, that can be split into two "virtual" displays.  I can set up different resolutions and scalings on those when I need to test HighDPI. 
Generally speaking, the test results are so disheartening that I still stick with 100% scaling in the OS, and use BDS in DPI-Unaware mode.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×