How to make app window same size at the MainForm
23:22 29 Jan 2026

This is my app. When designing the size and spacing are ok. but when i run, then the app becomes larger. I changed my Windows display scale to 100%, still same thing happen when i run the program. Anyway to make it exactly as I designed it?

I have tried:

  • Changing MainForm.DesignTimePPI 120->96.
  • Changing MainForm.PixelsPerInch 120->96

All still make the form appear larger than design form.

enter image description here

lazarus