New MaterialDesign 0.0.4
https://github.com/bgrabitmap/materialdesign/releasesImplemented
TextProportional and
TextProportionalRatio properties.
With this options you can scale the height of text based on the height of the control and a given ratio.
For example:
- TextProportional: True
- TextProportionalRatio: 0.5
- Height: 50
Font height will be 50 * 0.5 = 25
Is not intended as a fix to the font height problems across systems, but I'm using it in a project, that's the only reason I added it.
Font.Height is by default 0 by now. The only way to change height for now is using TextProportional and TextProportionalRatio, until I found time and a good way to solve it, for normal DPI and High DPI.
Also I've added
TextAutoSize property, that indicates if use text size to measure optimal width and height of the control. This can be used for example if you have a grid of MDButton, and want all of them have the same size, regarding of the text that's inside them. (If not set, you will have wider buttons and that doesn't look good in a grid).
As the other functions, I'm using it on a project, that's the reason I've added that functionality.