(also there needs to be a reset button)
Easy - just change it back to 6 icons per row. It snaps so you can't mess it up.
By the way, why does it seem like my game freezes as i change the icon size? It doesn't crash, it just has momentary freezes as i move the slider around
Well the code is not actually optimized at all. I basically delete all contents of the gui and then rebuild it. Just changing all positions might be /a lot/ faster.
You should make the window itself resizable.
I couldn't find any callback for resizing the window. If someone has an idea for that, sure
The bar that resizes the icon seems opposite.
It sets how mny icons per row, left being 3 and right being 16.