High DPI AutoAdjustLayout problems when Anchors set
Original Reporter info from Mantis: 007
-
Reporter name: lainz
Original Reporter info from Mantis: 007
- Reporter name: lainz
Description:
With Delphi Berlin applications are scaled automatically. With Lazarus we must use one of the methods described in the wiki http://wiki.lazarus.freepascal.org/High_DPI#STEP_2_-Scale_Forms_and_Controls.28AutoAdjustLayout_method.29 . The AutoAdjustLayout is the one working better, but still not as good as Delphi.
I attach a project, and two screenshots: one with the same form in Delphi and other with the same form in Lazarus. See the differences: The buttons are not scaled in lazarus because these uses custom anchors.
Steps to reproduce:
Download the project and run it in a different DPI setting. The buttons are not scaled.
Mantis conversion info:
- Mantis ID: 31022
- OS: Windows
- OS Build: 10
- Build: 53354
- Platform: i386
- Version: 1.6.2
- Fixed in revision: r53478 (#79f0438c)