Alakazizam Posted 23 hours ago Posted 23 hours ago (edited) Sorry, I only have surface level knowledge of using graphics. But the text gets quiet a bit larger when I'm breaking vs when I'm not, can someone explain why this is happening and maybe a quick fix if it's not too much trouble? Edited 23 hours ago by Alakazizam
skillerkidos1 Posted 17 hours ago Posted 17 hours ago Can you send the snippet? You are setting the font somewhere i would guess
Alakazizam Posted 16 hours ago Author Posted 16 hours ago 14 minutes ago, skillerkidos1 said: Can you send the snippet? You are setting the font somewhere i would guess I got it resolved. I didn't know how to set font and all that, I just went with whatever was default. I was mostly wondering why the break screen blew the font up, but setting my own font seems to have stopped the resizing during the break screen. g.setFont(new Font("Arial", Font.PLAIN, 12)); 2
Czar Posted 11 hours ago Posted 11 hours ago For anyone wondering this is because during breaks the client will set its own fonts and sizes, so I recommend always using g.setFont at the top of your onPaint, it should do the trick 1