Jump to content
Squamis

Delphi 11.3 (PPI)

Recommended Posts

Hello!

I have some interesting situation. When I open form, you can see

components alignment. After editing and saving - alignment restored

 

See at attachments.

 

My IDE has High DPI setted to "Automatic (Screen PPI)"

 

What you can recommend for me? Thanks

Share this post


Link to post

I have just installed a new Delphi 11 Community Edition. And I see something similar with positions of non-visual components (MainMenu, ActionList, OpenDialog etc.) on my form in the VCL Form Designer. Positions are shifted when opening and saving the form.

 

When I compare DFM files, before and after saving, in the new file, the explicit dimensions (ExplicitWidth, ExplicitLeft) differ from those in the old file. For. ex. in the old file:

ExplicitWidth = 1630
ExplicitLeft = 1306

In the new file:

ExplicitWidth = 1272
ExplicitLeft = 948

Workaround: Immediately after opening your form in the designer, click Save to correct the positions of the non-visual components.

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

×