Recent

Author Topic: Scaling the Font-Size in "Ease of Access" in Windows 10 - Hi DPI / Scaling issue  (Read 296 times)

PeterX

  • Sr. Member
  • ****
  • Posts: 330
2020-10-06 @ Windows 10, currently 1809 17763.1397, using Lazarus 2.0.10

I was asked by someone using my software why there's trashed text
in labels, buttons, panels, dropdown-menues etc.

Please see a part of a screenshot here ..

Right side is part of the Windows Dialog "Ease of Access"  @ Start  > Settings  > Ease of Access > Display
Please also see https://support.microsoft.com/en-ca/help/4028566/windows-10-change-the-size-of-text


Is this issue already assigned to anybody ?
« Last Edit: October 06, 2020, 03:03:16 pm by PeterX »
usually using latest Lazarus release version with Windows 10

PeterX

  • Sr. Member
  • ****
  • Posts: 330
I added a Example Project, and a screenshot of it.
usually using latest Lazarus release version with Windows 10

PeterX

  • Sr. Member
  • ****
  • Posts: 330
Additional screenshot, under whole scaling 100 %  and  125 %
usually using latest Lazarus release version with Windows 10

PeterX

  • Sr. Member
  • ****
  • Posts: 330
I remember, in the early days of Lazarus' first Scaling implementation ( Laz 1.8 ?),
I had to keep the object's Font Size at '0'. If not, it didn't scale at all.

Can I now set the Font Size of an object, for example a TButton,
to a fixed size, and it always scales correctly now, under actual 2.0 Lazarus ?
« Last Edit: October 07, 2020, 10:28:59 am by PeterX »
usually using latest Lazarus release version with Windows 10

 

TinyPortal © 2005-2018