Hi all. I am trying to do something that I think should be simple, but in practice is eluding me. I would like to have a UI Panel take the full screen, and the controls it contains to move relative to the position of the panel after it gets its resolution.
I started out by anchoring (with the new system) the UI Panel to the UIRoot and simply setting left: 0, right: 0, bottom:0, top:0 thinking this would inherit the UIroot size and therefore be the fullscreen. However, this isn't the case, I get the full screen in height, but not width (this is with pixel perfect or fixed on mobile with a height max of 900). Also, when I do this my widgets move after I hover over them (especially buttons which have a tween scale on them), and go off screen.
So, my real question is: how do I get a panel to be full screen? and should I even be trying to scale the UI to full screen, what is the best practice here? I want a program that can be used on mobile, but also pc?
Thank you in advance.