Thanks for looking. Please could someone help me with my UI. I've been trying for some time to move the unit information and change how the borders work however I've never really got it to work properly.
If someone could help explain how to do what I want that would be really appreciated.
I'm going to display the code below and also attach a (very crude) picture to try and show what I want.
If theres some way to highlight the coode please let me know so I can fix my post to make it more readable.
Basically the UI has been hidden, then the map has been displayed in the box in the bottom left corner. This is as I want it.
The command card has been resized as required, however I want it anchored to the bottom right corner.
Currently the box border only shows on the right and bottom sides, the opposite of what's required. How can I get the borders to show on the top and let sides?
I also would like the wireframe model and the unit stats to be pushed together a bit and moved as close to the map as possible. How can I do this? The portrait remains hidden.
Its clearly horrible so I've attached the txt file below.
added formatting to your post <<code xml>> <</code>> surrounded it with those tags.
first some notes:
Hiding the stubs inside the console panel might result in the hiding of the graphical bits of those elements. (MinimapStub/InfoStub/CommandStub).
Use Show/Hide UI Frame for hiding unwanted elements, like the controlgrouppanel. (moving out of screen works, but it just isn't that well looking)
ok now to your question:
concerning the border, check the anchors set where you define the border image.
and to your other question:
you want to move the UnitInfoPanel side ways so just look up what frame setup it needs and then add the required anchors.
Thanks for the response :) and also for formatting my post.
First concerning the command panel border. Can help me with the offsets I need to place a border on the top and left sides instead of the current bottom and right sides?
So far if I manage to get a border on the top and left sides it indents over the command panel covering some of the buttons. Obviously not desired, I've tried playing around with the anchors but I still do not really understand it all.
Concerning the frames, I also tried this but the stuff would not move.
if it covers some buttons then just set the <RenderPriority val="500"/> to a lower value for the border. that way it is drawn behind the buttons, instead of infront of them.
also have you read this information about the anchors?
you need to move the UnitInfoPanel and set a width on it. don't forget to unset the other anchors.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Thanks for looking. Please could someone help me with my UI. I've been trying for some time to move the unit information and change how the borders work however I've never really got it to work properly.
If someone could help explain how to do what I want that would be really appreciated.
I'm going to display the code below and also attach a (very crude) picture to try and show what I want. If theres some way to highlight the coode please let me know so I can fix my post to make it more readable.
Basically the UI has been hidden, then the map has been displayed in the box in the bottom left corner. This is as I want it.
The command card has been resized as required, however I want it anchored to the bottom right corner.
Currently the box border only shows on the right and bottom sides, the opposite of what's required. How can I get the borders to show on the top and let sides?
I also would like the wireframe model and the unit stats to be pushed together a bit and moved as close to the map as possible. How can I do this? The portrait remains hidden.
Its clearly horrible so I've attached the txt file below.
added formatting to your post
<<code xml>> <</code>>
surrounded it with those tags.first some notes:
ok now to your question:
concerning the border, check the anchors set where you define the border image.
and to your other question:
you want to move the UnitInfoPanel side ways so just look up what frame setup it needs and then add the required anchors.
You can look up the required frame setups here
Thanks for the response :) and also for formatting my post.
First concerning the command panel border. Can help me with the offsets I need to place a border on the top and left sides instead of the current bottom and right sides? So far if I manage to get a border on the top and left sides it indents over the command panel covering some of the buttons. Obviously not desired, I've tried playing around with the anchors but I still do not really understand it all.
Concerning the frames, I also tried this but the stuff would not move.
@irok2002: Go
if it covers some buttons then just set the
<RenderPriority val="500"/>
to a lower value for the border. that way it is drawn behind the buttons, instead of infront of them.also have you read this information about the anchors?
you need to move the UnitInfoPanel and set a width on it. don't forget to unset the other anchors.