Hi, I'm trying to make 4 widgets stay docked on the four corners of the screen.
My current settings:
Scene on 4:3
All widgets
size: 400x100, all anchors set to Advanced and all anchors not used set to None
Widget01:
Left, Targets Left, 20
Top, Targets Top, -20
Widget02:
Right, Targets Right, -20
Top, Targets Top, -20
Widget03:
Left, Targets Left, 20
Bottom, Targets Bottom, 20
Widget04:
Right, Targets Right, -20
Bottom, Targets Bottom, 20
When I try to resize the scene, like to 16:10, the widget sizes start to change for no reason and they don't stay where they are supposed to. Am I doing something wrong here? The target for the anchor is the "UI Root" and currently having only a UIPanel since I'm not using the UIRoot component. I also tried to use Custom on the anchors settings but it seems that as soon as I lose focus on the Widget the settings go back to the old value.
Thanks!
Edit: just figured out what I was doing wrong, the items inside the widget need to be anchored to the right part so when things stretch they follow staying in the right place. Fighting over this during the weekend but at least know I think I'm starting to understand how to do things right. xD