Hello. The command card has abilities with hotkeys. I am interested in preserving the hotkeys while hiding the command card. Hiding the command card via triggers does not preserve the hotkeys, so I believe the *.SCLayout file is the way to go here.
However, the following has some problems. (The idea is to push it off to the right, offscreen.)
UI: Anchor for side [Right] not valid for [CommandPanel].
UI: Unable to resolve layout of [CommandPanel] for side(s): [Left][Right]
Now you might be thinking, well if [Right] doesn't work, just use [Left]! This did not work, however.
The interesting thing is that this actually achieves the effect I was looking for, that is, the command card is nowhere to be seen! (And the hotkeys are functional.) The caveat is that the Battle.net button is also missing for some strange reason.
relative="$this" is only used to reset anchors (think: delete anchor side info), not to alter them and/or move frames around.
Use "$parent" instead.
If you have side="left" and want to make the frame use the right side instead, you would add information to the right side and reset the existing left anchor using "$this" as relative.
This reminds me, is $this a valid value? All the time this error is thown up, makes me wonder if it didnt just reset anchors due to being an invalid value.
This reminds me, is $this a valid value? All the time this error is thown up, makes me wonder if it didnt just reset anchors due to being an invalid value.
You can ignore most errors, if it is doing what it should. The error output for UI is just terrible. If error messages would have stopped me, I wouldn't have made a single observer interface with it...
Some errors are important though. For example, if your frame has only 1 valid side left, it won't appear ingame, I believe and throw an error. But there are other error messages with the sides that can't be removed, afaIk. So, just check if things are working or not.
$this is a valid value. Blizzard used it in their UI xml example that they posted in their forums a long time ago.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hello. The command card has abilities with hotkeys. I am interested in preserving the hotkeys while hiding the command card. Hiding the command card via triggers does not preserve the hotkeys, so I believe the *.SCLayout file is the way to go here.
However, the following has some problems. (The idea is to push it off to the right, offscreen.)
Here's the error messages:
UI: Anchor for side [Right] not valid for [CommandPanel].
UI: Unable to resolve layout of [CommandPanel] for side(s): [Left][Right]
Now you might be thinking, well if [Right] doesn't work, just use [Left]! This did not work, however. The interesting thing is that this actually achieves the effect I was looking for, that is, the command card is nowhere to be seen! (And the hotkeys are functional.) The caveat is that the Battle.net button is also missing for some strange reason.
relative="$this" is only used to reset anchors (think: delete anchor side info), not to alter them and/or move frames around.
Use "$parent" instead.
If you have side="left" and want to make the frame use the right side instead, you would add information to the right side and reset the existing left anchor using "$this" as relative.
This reminds me, is $this a valid value? All the time this error is thown up, makes me wonder if it didnt just reset anchors due to being an invalid value.
Go play Antioch Chronicles Remastered!
Also, coming soon, Antioch Episode 3: Thoughts in Chaos!
Dont like mapster's ugly white? Try Mapster's Classic Skin!
You can ignore most errors, if it is doing what it should. The error output for UI is just terrible. If error messages would have stopped me, I wouldn't have made a single observer interface with it...
Some errors are important though. For example, if your frame has only 1 valid side left, it won't appear ingame, I believe and throw an error. But there are other error messages with the sides that can't be removed, afaIk. So, just check if things are working or not.
$this is a valid value. Blizzard used it in their UI xml example that they posted in their forums a long time ago.