FancyMenu [Fabric] [MOVED TO NEW PROJECT]

FancyMenu [Fabric] [MOVED TO NEW PROJECT]

17M Downloads

Need Help with button placing & sizing

Charismara opened this issue ยท 6 comments

commented

Hey,

I got 2 Screens (1920x1080 & 2560x1440) and if i'm moving the Window from one screen to another, all buttons are in the wrong size and place. I'm running into the same issue if i change the gui scaling.

Is there a way to "fix" this?

commented

You're using wrong orientations for your button objects.

This should help you :)

commented

I've tried all orientations for the buttons but they are always a bit off the position they should be on the bigger screen.
I get the best results with top left & mid left.

Screenshots with mid-left orientation

small:
image
big:
image

commented

Only mid-left will work here, so you should be fine with that orientation.

Is the button background thing (black transparent image) part of the full background image or is it a separate image? It needs to be a separate image with one of the left orientations to work!

If you do all of these things, it should work perfectly fine! :)

commented

Thanks that fixed the positioning issue. Now i'm running into another one ^^"

If i add the button background as image it will be in front of all buttons and make them darker.
image

Is there any way to move the image to the layer behind the buttons (like the "behind the text" option in Word)?

commented

Hi! Sorry for the late answer, wasn't notified of new comments here :(
(Discord is better to ask things like this, because I will see it much quicker! :D)

You can set the rendering order of your layout. By default, the rendering order is set to foreground. Put all your foreground stuff in one layout with the foreground rendering order and all your background stuff (like the button background) in another one with the background rendering order! :)

To set the rendering order in the Layout Editor: Rightclick on the blank editor background -> Renderorder

commented

Thanks! Now everything works like it should ๐Ÿ‘