Hi, currently I'm working on my observer ui and I need help with creating background for infopanel. Is there any way to make background visible after observer select unit or building and being hidden when there is no selection?
<!-- Info Panel --><Frametype="InfoPanel"name="GameUI/UIContainer/ConsoleUIContainer/InfoPanel"file="GameUI"><Anchorside="Left"relative="$parent"pos="Max"offset="-590"/><Anchorside="Bottom"relative="$parent"pos="Max"offset="-10"/><Anchorside="Right"relative="$parent"pos="Max"offset="0"/><Heightval="199"/><!-- Right side infos --><Frametype="InfoPaneUnit"name="InfoPaneUnit"><!-- custom image --><Frametype="Image"name="InfoPanelImage"><Anchorside="Top"relative="$parent\$parent"pos="Min"offset="0"/><Anchorside="Right"relative="$this"pos="Max"offset="0"/><Anchorside="Bottom"relative="$this"pos="Max"offset="0"/><Anchorside="Left"relative="$parent\$parent"pos="Min"offset="0"/><Widthval="580"/><Heightval="199"/><Textureval="Assets\Textures\white32.dds"/><TextureTypeval="Border"/><AcceptsMouseval="false"/><TooltipAnchorPositionval="BottomRight"/><Alphaval="128"/><Colorval="61,61,61"/><RenderPriorityval="100"/></Frame></Frame>
Where did I put my image, where did you put your image?
I'm putting it into the correct frames, you are putting them into the ConsoleUIContainer.
Hi, currently I'm working on my observer ui and I need help with creating background for infopanel. Is there any way to make background visible after observer select unit or building and being hidden when there is no selection?
Just create the image inside each panel within infopanel like the grouppanel.
Thx, for answer, but it didnt work. Probably I made something wrong or misunderstood you. Can you look at code and tell me where I made mistake?
Well...
Where did I put my image, where did you put your image?
I'm putting it into the correct frames, you are putting them into the ConsoleUIContainer.
Cant belive I failed that hard, Thank you for help.