Jump to content
cupboy

Can I make the form larger in the IDE?

Recommended Posts

The form is rather small in the IDE making it hard to work with. Is there a way to adjust the size of the form in the IDE? Could I make it the same size as it is when the program is run? I am using version 11.2.

 

ide.jpg

Edited by cupboy

Share this post


Link to post

I you are running the IDE on a monitor with scaling set to anything other than 100% it matters if you have enabled high DPI support for the form designer or not (the latter is equivalent to launching the IDE via the Delphi (DPI unware) shortcut the installer provides in the start menu group. You can find the relevant setting in the Tools -> Options dialog:

image.thumb.png.e212920ecd138d8670252c785940af1b.png

Share this post


Link to post

Thanks! I set it to Automatic (Screen PPI). I was also able to uncheck Scaled for the form. I'll have to do more testing but everything looks good so far. I'll have to try it with a standard monitor and see what happens.

 

update: Set Scaled back to true since the bitmaps on the buttons were tiny otherwise and now they look normal.

Edited by cupboy

Share this post


Link to post
15 hours ago, cupboy said:

Thanks! I set it to Automatic (Screen PPI). I was also able to uncheck Scaled for the form. I'll have to do more testing but everything looks good so far. I'll have to try it with a standard monitor and see what happens.

 

update: Set Scaled back to true since the bitmaps on the buttons were tiny otherwise and now they look normal.

Take a look at TVirtualImagelist and TVirtualimageCollection, these allow you to supply different versions (sizes) of bitmaps optimized for the DPI settings your app may encounter in the wild. This tends to look better than getting the images scaled at runtime from a single sized version.

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

×