Hello all,
I'm currently working on a GuiDesigner mod, it's working but I am having an issue with the components scaling. Normally the Minecraft GUI will re-construct the buttons in the initGui method the initGui method gets called when the screen in reconstructed. The screen is reconstructed if you scale up or down the Minecraft window and of course when you enter that screen. My GuiDesigner mod saves and loads the components to and from JSON, so they are never reconstructed. How would I go about scaling all the components to the screen width and height?
any help is greatly appreciated.
here is a video of the GUI in action https://a.pomf.cat/ifzyma.mp4
Thanks in advance,
Marshall.