change setFontSize from int to float