bug fix: Programmatically calling setMaxChararacters doesn't update the padding