#✅ | On gui scale x4 the image is too big

1 messages · Page 1 of 1 (latest)

still spruceBOT
#

Looks like at GUI scale ×4 the layout doesn’t proportionally rescale the logo anchored to the Singleplayer button, so it grows too large and overlaps.

Two quick fixes:

  1. Enable auto-scaling for that layout (right-click the editor background → Auto-Scaling). That makes FancyMenu automatically shrink or grow the whole layout depending on the window/GUI scale, so the logo stays flush at ×4 without manual resizing.
  2. Use advanced positioning/sizing on the logo image so you can express its size/offset with GUI-scale-aware placeholders (e.g. wrap values in {"placeholder":"calc","values":{"expression":"{"placeholder":"guiwidth"} * 0.3","decimal":"false"}}). You can find the exact guide in the Advanced Positioning & Sizing doc.

If you still need the logo anchored to the Singleplayer button, make sure the image has the same anchor (centered on the button) and optionally turn on Sticky Anchors so it keeps the same distance when hitting higher GUI scales. Combine that with auto-scaling or placeholder-driven sizes and it should stay lined up at ×4.

See:

sick mantle
#

do i want to force a gui scale for everyone? or do i just make the menus compatible with any gui scale? what should be the default gui scale when people play the modpack for the first time?

still spruceBOT
# sick mantle do i want to force a gui scale for everyone? or do i just make the menus compati...

You should make the menus scale with any GUI scale rather than forcing one for everyone—that’s more flexible for players. FancyMenu already has tools for that:

  • Enable Auto-Scaling (right-click editor background → Auto-Scaling) so layouts resize automatically when the GUI scale changes.
  • Use Sticky Anchors and/or Advanced Positioning with placeholders so elements keep their relative spacing even at ×4 or other scales.
  • Favor anchor points tied to screen edges or buttons, then rely on placeholder math to set sizes that react to guiwidth/guiheight.

For new players, you can just leave the default GUI scale at Minecraft’s usual “Auto” setting. That lets them pick whichever scale they like, while your layout stays compatible thanks to the scaling tools above.

sick mantle
#

i think the image is too big to go above the border when in x4 gui scale, can i make it go behind it?

still spruceBOT
# sick mantle i think the image is too big to go above the border when in x4 gui scale, can i ...

Yep, you can move it behind the button so even at GUI ×4 it looks correct. Two tricks:

  1. Turn it into a background/behind element – right-click the image and move it down in the Layers widget (menu: Window → Widgets → Layers). That keeps it visually behind the button. If it’s still covering the button you can also right-click the editor background and toggle “Render Custom Elements Behind Vanilla” so vanilla buttons stay on top.

  2. Anchor + sticky distance – keep the image anchored to the Singleplayer button, but enable Sticky Anchors (right-click the image → Sticky Anchors). That makes it keep the same offset when the screen resizes, preventing it from drifting over the button at ×4. Combine that with auto-scaling or placeholder-driven size values (see Advanced Positioning & Sizing) and it’ll stay aligned even on different GUI scales.

Let me know if you want help writing the placeholder math for the size/offset, I can walk you through it 😊

sick mantle
#

oohh it was stay on screen trollface

still spruceBOT
# sick mantle oohh it was stay on screen <:trollface:1434025882715951276>

Ahhh, yep—Stay On Screen keeps the element from drifting beyond the window edges, but at GUI ×4 it can force it to overlap nearby buttons. If you want the logo to be free to sit behind the button, right-click it and disable Stay On Screen so it keeps the layout you set even when the window (or GUI scale) gets bigger.

If you still want it stuck to the button, pair that with Sticky Anchors (same right-click menu) and auto-scaling/placeholder-based sizing so it keeps the same offset across GUI scales without poking other elements.

#
Thread Marked as Solved

This support thread has been marked as solved by @sick mantle.

The AI helper is now disabled, but you can still continue the conversation if needed. Thank you for using our support system!