How should I best go about getting widgets to keep themselves visible (i.e. fully on-screen) when a user quits out and loads back in with a different screen resolution?
e.g. User places their character info widget in the top left corner of the screen while running the game at a 16:9 resolution, they exit the game, which saves the position and size of the widget. Then they reload the game in 4:3 - the widget now gets re-positioned to be off-screen, and is potentially irretrievable unless they change resolutions back.
Is there any functionality in place to snap a UIWidget based widget so that it is fully visible?
Or is there another way to be looking at this issue that I'm not considering? Obviously anchoring everything in place prevents this, but when you want the user to be able to move a widget / panel such as a chat window and have it remember the position, achoring doesn't appear to be ideal, except when they run the client the first time.
Is UIDragObject the only component with this functionality?
Also, why doesn't UIDragResize have a flag to prevent resizing past the screen bounds?