Hi,
I use TSSP file that changes the appearance of the entire application.
There is a problem with the appearance when the user has different font scaling setting in Windows (120 DPI).
Due to the nature of the project I need to get the same appearance of the application, regardless of the DPI.
So using VisualStyleBuilder I changed the font size from the point value to the pixel value (Segoe UI; 8,25pt => Segoe UI; 11px).
In Annex, you can see the result.
Font has the same size. But the size of the control type CommandBarButton is strange. It looks as if I set the padding (but padding is 0 for all).
How to get rid of the padding?
For other types of controls do not see this behavior.
I use TSSP file that changes the appearance of the entire application.
There is a problem with the appearance when the user has different font scaling setting in Windows (120 DPI).
Due to the nature of the project I need to get the same appearance of the application, regardless of the DPI.
So using VisualStyleBuilder I changed the font size from the point value to the pixel value (Segoe UI; 8,25pt => Segoe UI; 11px).
In Annex, you can see the result.
Font has the same size. But the size of the control type CommandBarButton is strange. It looks as if I set the padding (but padding is 0 for all).
How to get rid of the padding?
For other types of controls do not see this behavior.