Header text on "tab control" not readable at high DPI setting (150 ppp)

Started by Jean-pierre Leroy, April 09, 2013, 11:19:31 AM

Previous topic - Next topic

Jean-pierre Leroy

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

Eddy Van Esch

Jean-Pierre,
Try changing some properties of the tab control :
- TabHeight
- HeaderTopPadding
Eddy

Paul Squires

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]
Paul Squires
PlanetSquires Software

Jean-pierre Leroy

Thanks a lot Paul,

It works perfectly now ... we can see the difference below:

Paul Squires

Paul Squires
PlanetSquires Software