MalisisCore

48M Downloads

TexturePack Change doesn't trigger text to re-center due to font size change

Dockter opened this issue ยท 2 comments

commented

Was playing with buttons and noticed if you changed texture packs, the new font is applied to the screen and buttons but the font doesn't auto center on the buttons as it should.

If you listen to the change texture pack method and trigger it to recenter on buttons across the entire container?

commented

Sounds like a lot of work for a very specific edge case.

commented

Except many texture packs Chang fonts.

Isn't there a forge event you could listen for and just re-run your math calculation?