IgnaceMaes / MaterialSkin

Theming .NET WinForms, C# or VB.Net, to Google's Material Design Principles.
MIT License
2.84k stars 829 forks source link

Scale Action Bar and Status Bar height based on dpi. #175

Closed Theo47 closed 3 years ago

Theo47 commented 6 years ago

On higher dpi settings, the size of the action bar and status bar decreases. This scales them so that they will remain the same size regardless of the dpi setting.

96 dpi (100%): 96 dpi (100%)

144 dpi (150%) (before PR): As you can see the size of the action and status bars has decreased leaving the white space in its place. 144 dpi (150%) (before PR)

144 dpi (150%) (after PR): This is how it looks after this commit. The status and action bars are now the same size as they were on 96dpi (100%). 144 dpi (150%) (after PR)