set icon size according to the font size in repo tree