#GUI seemingly doesn't fit the screen width/height?

1 messages · Page 1 of 1 (latest)

wanton lynx
#

I am sure that this is a really novice mistake, but even if I have the Control node set as the same size of my window (200x200), it seems to not fit, i.e the furthest right a (for example) label can go (from within the set boundary size) seems to only equate to be at the middle of the screen...

upper parrot
#

What are your inspector settings for the layout? Are you anchoring it in any way?

wanton lynx
rapid oasis
#

Did you try with Anchor: "Top Right"?

wanton lynx
#

that would indeed make it fully go to the right (fig1),
but it will consequentially not fully go to the left (fig2),
my problem is more with the fitting.
the ad-hoc solution I've found for now is just doubling the size of the Control node (to 400x400, which is double of my screen size of 200x200) (fig3).
I find it strange that that occurs as such,,, is it common practise to double the size like this, or is this unexpected?

rapid oasis
#

Can you show how scene tree is created?

wanton lynx
rapid oasis
#

I have the same setup:

#

Contorl set ass full rect:

#

left label no changes:

#

and right the same way i posted previously. This give me result like this:

wanton lynx
#

strange, maybe my problem is something to do with how I have my viewport sized. idk

rapid oasis
#

Maybe try to recreate with new scene. I change viewport size nad position is ok, but in editor I need to in root Control node change anchor to top right and than to full rect to refresh transform size

wanton lynx
#

I will surely try that later!