PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: Jean-pierre Leroy on April 09, 2013, 11:19:31 AM

Title: Header text on "tab control" not readable at high DPI setting (150 ppp)
Post by: Jean-pierre Leroy on April 09, 2013, 11:19:31 AM
Hi Paul,

The header text on "tab control" is not readable at high DPI setting (150 ppp).

See the enclosed screenshots with my settings.

Can you please fix it ?

Thanks,
Jean-Pierre
Title: Re: Header text on "tab control" not readable at high DPI setting (150 ppp)
Post by: Eddy Van Esch on April 09, 2013, 11:29:07 AM
Jean-Pierre,
Try changing some properties of the tab control :
- TabHeight
- HeaderTopPadding
Title: Re: Header text on "tab control" not readable at high DPI setting (150 ppp)
Post by: Paul Squires on April 09, 2013, 11:39:50 AM
Thanks Jean-Pierre, looks like I was not adding scaling to the code generation for TabCtrl_SetItemSize and TabCtrl_SetPadding. I made a quick change to the code generation. Please try the attached new EXE and let me know if it works. Thanks!


[attachment deleted by admin]
Title: Re: Header text on "tab control" not readable at high DPI setting (150 ppp)
Post by: Jean-pierre Leroy on April 09, 2013, 02:21:29 PM
Thanks a lot Paul,

It works perfectly now ... we can see the difference below:
Title: Re: Header text on "tab control" not readable at high DPI setting (150 ppp)
Post by: Paul Squires on April 09, 2013, 02:59:39 PM
Excellent! Happy to have helped.  :)