Hi,
I'm having problems with "Offset anchor by position" feature on UIPanel. The problem seems to appear on objects which are NOT anchored to anything.
Example 1See attached Separators.png. The shown panel moves into the screen from the bottom. It is moved by changing its position and using "Offset anchor by position".
As you can see from the screenshot the labels move in fine, but the separators stay somewhere behind. Labels are anchored to the panel and separators are not.
Example 2See attached Panel images. In this case window moves in from the right. In this case the whole inner panel is offset to the left (which is counter intuitive - I would expect it to be off to the right, because I though it's caused by some kind of one frame delay). Anyway, it should be centered in the middle. Even more interesting that you can see in the scene view that rendering of gizmos are positioned in correct place, but the generated quads in UIDrawCalls are off to the left.
I marked parent panel with Blue. Child panel visually should be in green position, but it is in red.
Setting up anchors on objects properly doesn't solve the problem. If I remove child UIPanel, i.e. all objects live in the same UIPanel, then everything works (except that I can not do ScollViews
Could you tell me if there is a workaround to this problem? Maybe there is a better way to move windows from code?