Nice patch, . Hope will add this to release some day ^_^
P.S. but I was thinking maybe it would be better to replace percentage for, let's say "max" string, not just leaving the empty place there.
Merged post
or 
var percFinal = "max";
if(!isMaxLevel) percFinal = $"{percent}%";
if (cuiTextShadow)
{
var percShader1 = new CuiElement
{
Name = CuiHelper.GetGuid(),
Parent = mainPanel,
Components =
{
new CuiTextComponent { Text = percFinal, FontSize = cuiFontSizePercent , Align = TextAnchor.MiddleRight, Color = "0.1 0.1 0.1 0.75" },
new CuiRectTransformComponent{ AnchorMin = "0.5 -0.1", AnchorMax = $"0.985 1" }
}
};
container.Add(percShader1);
}
var percText1 = new CuiElement
{
Name = CuiHelper.GetGuid(),
Parent = mainPanel,
Components =
{
new CuiTextComponent { Text = percFinal, FontSize = cuiFontSizePercent , Align = TextAnchor.MiddleRight, Color = cuiFontColor },
new CuiRectTransformComponent{ AnchorMin = "0.5 0", AnchorMax = $"0.975 1" }
}
};
container.Add(percText1);