Included TFrames get scaled twice when opening form
Original Reporter info from Mantis: JohnQMetro
-
Reporter name: JohnQMetro
Original Reporter info from Mantis: JohnQMetro
- Reporter name: JohnQMetro
Description:
If a project designed at 100% dpi has Frames that are included in a form at design time, opening the Lazarus IDE and the project at higher dpi causes the frame contents (spacing, width) to be scaled twice. These changes seem to be saved automatically.
See the Forum Discussion:
https://forum.lazarus.freepascal.org/index.php/topic,47524.0.html?PHPSESSID=p3vgfhjmnfkml4adnin4e6l5e0
This is not an issue with the compiled program, but the designer. This issue was not affected by the dpi settings for the project.
Steps to reproduce:
The project attached by wp in the 3rd post in the linked thread showed the issue for me. I opened it up in my Windows 7 with dpi at 150%, and the frame embedded inside the form showed the extra scaling. If the frame is opened separately, it does not show double scaling.
Mantis conversion info:
- Mantis ID: 36370
- OS: Windows
- OS Build: 7
- Version: 2.0.4
- Fixed in version: 2.1 (SVN)
- Fixed in revision: r62507 (#f5da5df4)
- Target version: 2.2