glm9637 / MaterialWinforms

Materialized Windows Forms Controls
MIT License
106 stars 39 forks source link

How can I change the font of the controllers? #2

Open Mohammad-Reza-Rahimi-Zade opened 6 years ago

Mohammad-Reza-Rahimi-Zade commented 6 years ago

Hi

How can I change the font of the controllers?

glm9637 commented 6 years ago

Changing the Fonts is currently not directly supported, as it was intendet to be used with the default Roboto Fonts. One way to change them tho, would be overriding the Font declarations in the MaterialSkinManager(lines 292 - 295) to your desired fonts, this would be a bit messy, because the names will be somewhat misleading, but this should be the easiest approach. alternatively you would need to override every single control you want to use, this will be more work but cleaner. Does this help?