I understand your concern about GUI scale affecting button positions, especially on different monitor sizes! It's a common challenge when customizing menus.
The usual fix for ensuring elements maintain their positions and scale gracefully across various monitor sizes without relying solely on a forced GUI scale is to use FancyMenu's Auto-Scaling and Anchor Points.
Here's a quick overview:
-
Anchor Points: Every element in FancyMenu is tied to an anchor point. Properly assigning these anchors (e.g., to the center, top-left, or bottom-right of the screen) will help elements stay in their intended relative positions even when the screen size changes.
- You can learn more about this on the Positioning Elements documentation page.
-
Auto-Scaling: This feature automatically scales the entire menu based on the window size to try and preserve element positions and proportions as best as possible.
- To enable it, right-click the editor background and then click on Auto-Scaling.
- Be aware that auto-scaling can sometimes make Minecraft's text rendering look a bit off. For buttons, a workaround is to make the button label part of the background texture and then use a blank label in FancyMenu.
By combining well-chosen anchor points with auto-scaling, you can make your layouts much more responsive and good-looking on various monitor setups without forcing a specific GUI scale that might not suit everyone. ๐