public virtual void ScaleToWidth(float width)
{
// preBeat and postBeat glyphs do not get resized
var containerWidth = width - _preBeatGlyphs.Width - _postBeatGlyphs.Width;
foreach (var voice in _voiceContainers)
{
var c = _voiceContainers[voice];
c.ScaleToWidth(containerWidth);
}
_postBeatGlyphs.X = _preBeatGlyphs.X + _preBeatGlyphs.Width + containerWidth;
Width = width;
}