Individual Scales - Spazley/ScalingGUIs GitHub Wiki
ScalingGUIs includes an ability to scale specific GUIs differently than others. When a GUI is opened, ScalingGUIs checks whether the GUI's class name string matches a custom entry. If a match is found, SG scales the GUI according to the custom setting.
Upon initially opening the Custom Individual GUI Scales menu, the menu will only contain a button for a new entry.
Open the New Individual Entry menu to create a new custom scale setting.
This screen presents the components to create a new individual entry.
- Select GUI Class Name opens a screen to select a GUI class name from a list of logged names.
- Note: This screen will only be populated if persistentLog in General Settings has been
true
at some point.
- Note: This screen will only be populated if persistentLog in General Settings has been
- New GUI Class Name presents a text box to manually input the GUI class name for the new entry.
- This text box will automatically update when a class name is chosen via Select GUI Class Name.
- New GUI Display Name presents a text box to input a custom name for the entry in the Custom Individual GUI Scales menu.
- If no display name is provided, the display name will be the GUI class name.
- New GUI Scale presents a slider to customize the GUI scale upon entry creation.
To save a new custom entry, click Done. Pressing ESC will close the screen without creating a new entry.
Example
This example creates an entry for a custom Main Menu scale.
Open the Select GUI Class Name screen. From the list, select the Main Menu class name (net.minecraft.client.gui.GuiMainMenu
).
Click Done to return to the previous screen and update the New GUI Class Name text box.
Enter a display name for the new entry and customize the entry scale.
Click Done to add the new entry and close the screen.
The new entry is added and available for immediate use. The new entry is saved to the custom scales file when the main ScalingGUIs menu is closed.