DPI Scaling for displays not handled correctly
Original Reporter info from Mantis: garyd2
-
Reporter name: Gary Darby
Original Reporter info from Mantis: garyd2
- Reporter name: Gary Darby
Description:
In Windows XP or Vista, when system DPI scaling is set to a large value, say 144 DPI, to enlarge text (e.g. on high resolution displays), the text is automatically enlarged but controls without Autosize property or with Autosize set to false are not resized which causes enclosed text to be clipped.
In Lazarus IDE Menu I see this in Search/Find and Replace (radio buttons); in Tools/Diff (check boxes) and Build Lazarus/LCL Interface (radio buttons); in Environment /Options/ Syntax Highlighting (Comboboxes?) and Codetools/Words (radio buttons)
Additional information:
This is a problem shows up in some existing non-MS apps, (e.g. KeePass and Acronis apps). In Delphi most cases can be handlled by setting Autoscroll to false and Autosize to true if those properties are published but some require resizing. So far in my Delphi apps, I have just manually adjusted controls with clipped text to fit my personal setting (150%).
Mantis conversion info:
- Mantis ID: 14688
- Version: 0.9.26.2
- Monitored by: » zex2011 (Zex Atilla)