JUCE deprecated Font::getStringWidth() in v8.0.2, which was used in a few places across the inspector.
This adds a new getStringWidth() static method to InspectorLookAndFeel which uses juce::GlyphArrangement to calculate the string width in JUCE 8.0.2 or newer, keeping backwards-compatibility for older versions of JUCE.
JUCE deprecated
Font::getStringWidth()
in v8.0.2, which was used in a few places across the inspector.This adds a new
getStringWidth()
static method toInspectorLookAndFeel
which usesjuce::GlyphArrangement
to calculate the string width in JUCE 8.0.2 or newer, keeping backwards-compatibility for older versions of JUCE.