I've been working on an extremely complicated SC2Layout interface for somebody, and I have run into a problem with the InfoPaneGroup, located at GameUI/UIContainer/ConsoleUIContainer/InfoPanel/InfoPaneGroup.
I need to move this frame offscreen but haven't been able to with a wide variety of attempts.
I tried a solution in this thread, that says this works:
Because the InfoPaneGroup is anchored to the Top Left of InfoPanel, anchoring the Top of the InfoPanel off of the screen will move the InfoPaneGroup off of the screen as well. This is the code that does that:
However, because you changed the Top Anchor of the InfoPanel, anything that was anchored to the Top-Min of the InfoPanel must be anchored now to the Top-Max instead, offset by the original height of the InfoPanel (which was 199).
So, if you have a child of the InfoPanel that was anchored in this way, and you want it to stay where it was, you must alter it like this:
Hey fellow UI crafters,
I've been working on an extremely complicated SC2Layout interface for somebody, and I have run into a problem with the InfoPaneGroup, located at GameUI/UIContainer/ConsoleUIContainer/InfoPanel/InfoPaneGroup.
I need to move this frame offscreen but haven't been able to with a wide variety of attempts.
I tried a solution in this thread, that says this works:
But it didn't work.
Thanks for your assistance. :)
@MasterWrath: Go
I have solved this in a roundabout way.
Because the InfoPaneGroup is anchored to the Top Left of InfoPanel, anchoring the Top of the InfoPanel off of the screen will move the InfoPaneGroup off of the screen as well. This is the code that does that:
However, because you changed the Top Anchor of the InfoPanel, anything that was anchored to the Top-Min of the InfoPanel must be anchored now to the Top-Max instead, offset by the original height of the InfoPanel (which was 199).
So, if you have a child of the InfoPanel that was anchored in this way, and you want it to stay where it was, you must alter it like this:
Changes to:
The offset of -169 was derived from the original offset, 30, minus the original height of the info panel, 199. 30-199 = -169.