I want to make a phone gui for my game, but every time I move the gui, it shifts out of the selection box. Does anyone know what’s going on?
Video:
I want to make a phone gui for my game, but every time I move the gui, it shifts out of the selection box. Does anyone know what’s going on?
Video:
I’m not exactly Shure what the problem here is, this looks pretty normal to me.
maybe try putting the gui as a child of the selection box?
It’s not a custom selection box. Every time I resize the gui, it moves over slightly.
wdym not a custom selection box?..
I mean the resize box around the gui when you go to resize it.
I don’t know exactly what is the problem, what do you want to do?
Don’t you see how it gets smaller on all sides when I just resize one edge?
What exactly are you trying to achieve?
Do you see the white outline around the gui? It’s supposed to be the same size as the gui. In the video, it is clearly not.
I fail to see how that impacts your GUI design, it’s merely a representation of your GUI element’s size to be of extra help. You really shouldn’t be dragging it around like that for designing your GUIs either (I consider that a no-no). Instead set anchor point to 0.5,0.5 and use scale for positioning. Takes more effort but is accurate and worth the time, experiment with it until you learn it and you achieve the results you wish.
What do you mean you fail to see how it impacts my GUI design. When I resize one edge, the WHOLE gui changes size. That is a big problem.
were you using some sort of constraint?
23/05/2021
@NeonTaco135
Is that a Frame, Label, textlabel and such from studio?
or
is that an image you uploaded!
if the later is true then it may be the case because of transparent background!
No, it was just a normal gui with nothing in it. Also, it just happens sometimes but not always.
Again as I said, you shouldn’t drag corners to resize/position your GUI. Set anchor point to 0.5,0.5 and use scale to position and size your elements. That’s accurate and consistent.
Why would I need to do that when the gui snaps to the edge of the other gui? Also, I don’t need to be super precise and this shouldn’t even be happening in the first place.
In the sizing thing you want the 1st and 3rd number to have numbers not the 2nd and 4th since those are offsets which means they wont resize for phones and stuff
That’s not the problem. I used scale for the gui.
You can’t complain about it snapping to the edge if you don’t want to use the alternate method. The alternate is more work but then you also achieve the results you wish for. Dragging corners and using the on screen UI editing tools is just more clumsy and inaccurate (at least from my personal experience), your problem in this case is a part of that clumsiness. Once again I suggest to do it manually, if you don’t want to do that then you simply have to live with the snapping to the edge.
I get what you’re saying, but I shouldn’t be having this kind of problem. I’m pretty sure this may be a bug.