Hey all!
I'm trying to move the command panel to the left side of the screen, basically swapping the positions of the minimap and command panel.
I got it to work with my screen, but tested with smaller screens and it was off!
Here's my code:
Also I was trying to move the tooltips to the correct position over the left command panel, same problem though.
The script you see above is just wrong, it puts the command panel in the middle bottom:(
The reason why it appears in the center is because you did not reset the right anchor, see the comment in the code below.
<?xml version="1.0" encoding="utf-8" standalone="yes"?><Desc><Constantname="CommandButtonGap"val="1"/><Frametype="CommandPanel"name="GameUI/UIContainer/ConsoleUIContainer/CommandPanel"file="GameUI"><BatchImagesval="true"/><BatchTextval="true"/><Anchorside="Bottom"relative="$parent"pos="Max"offset="360"/><Anchorside="Right"relative="$this"pos="Max"offset="0"/><!-- reset the right anchor, so it does not use it to position itself. --><Anchorside="Left"relative="$parent"pos="Min"offset="0"/><Widthval="600"/><Heightval="600"/><Frametype="CommandTooltip"name="CommandTooltip"><Anchorside="Bottom"relative="$parent"pos="Max"offset="-240"/><Anchorside="Right"relative="$parent"pos="Max"offset="0"/></Frame></Frame></Desc>
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hey all! I'm trying to move the command panel to the left side of the screen, basically swapping the positions of the minimap and command panel. I got it to work with my screen, but tested with smaller screens and it was off! Here's my code:
Also I was trying to move the tooltips to the correct position over the left command panel, same problem though. The script you see above is just wrong, it puts the command panel in the middle bottom:(
@Juxtapozition: Go
The reason why it appears in the center is because you did not reset the right anchor, see the comment in the code below.