FontsDemo errors

Happened to notice that several labels were missing and/or mis-positioned in the FontsDemo (JUCE 5.4.5). The “Scale” label and “Style” Label are missing:

Screen Shot 2020-01-21 at 11.13.47 AM

Here is what it should look like:

Screen Shot 2020-01-21 at 11.24.13 AM

Replace:

    Label heightLabel   { {}, "Height:" },
          kerningLabel  { {}, "Kerning:" },
          scaleLabel    { "Scale:" },
          styleLabel    { "Style" };

With:


    Label heightLabel   { {}, "Height:" },
          kerningLabel  { {}, "Kerning:" },
          scaleLabel    { {}, "Scale:" },
          styleLabel    { {}, "Style:" };

Replace:


        styleBox.setBounds (r.removeFromBottom (26));
        r.removeFromBottom (8);

        int labelWidth = 60;

With:

        int labelWidth = 60;

        styleBox.setBounds (r.removeFromBottom (26).withTrimmedLeft (labelWidth));
        r.removeFromBottom (8);

I think this is fixed on the develop branch.