• 0

    posted a message on Infopanel background

    Cant belive I failed that hard, Thank you for help.

    Posted in: UI Development
  • 0

    posted a message on Infopanel background

    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?

    <Frame type="Frame" name="GameUI/UIContainer/ConsoleUIContainer" file="GameUI">
            <Frame type="Frame" name="InfoPanel">
                <Anchor side="Left" relative="$this" pos="Min" offset="0"/>
                <Anchor side="Top" relative="$this" pos="Min" offset="0"/>
                <Anchor side="Right" relative="$parent" pos="Max" offset="0"/>
                <Anchor side="Bottom" relative="$parent" pos="Max" offset="0"/>
                <Width val="700"/>
            </Frame>
            
            <Frame type="InfoPanel" name="InfoPanelBackground">
                <NormalImage val="NormalImage"/>
                <HoverImage val="HoverImage"/>
                <Width val="282"/>
                <Height val="264"/>
            </Frame>
    
            <Frame type="Image" name="NormalImage">
                <RenderPriority val="400"/>
                <Texture val="Interfaces/normal.tga"/>
                <StateCount val="2"/>
                <TextureType val="Normal"/>
                <DescFlags val="Internal"/>
            </Frame>
    
            <Frame type="Image" name="HoverImage">
                <RenderPriority val="400"/>
                <Texture val="Interfaces/hover.tga"/>
                <StateCount val="2"/>
                <TextureType val="Normal"/>
                <DescFlags val="Internal"/>
            </Frame>
        </Frame>
    
    Posted in: UI Development
  • 0

    posted a message on Infopanel background

    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?

    Posted in: UI Development
  • To post a comment, please or register a new account.