rds1983 / Myra

UI Library for MonoGame, FNA and Stride
MIT License
728 stars 94 forks source link

Export to C# generates weird font creation code #275

Closed rds1983 closed 3 years ago

rds1983 commented 3 years ago

I.e.

    _buttonChooseColor.Font = new StaticSpriteFont
    {
        DefaultCharacter = null,
        CharacterSpacing = 0,
        LineSpacing = 0,
        UseKernings = true,
    };