This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
How would I show 6 command buttons in a 6x1 line, hide the rest and move it to the bottom center?
Figured it out:
<?xml version="1.0" encoding="utf-8" standalone="yes"?> <Desc> <Frame type="Frame" name="GameUI/UIContainer" file="GameUI"> <Frame type="Frame" name="ConsoleUIContainer"> <Frame type="CommandPanel" name="CommandPanel" template="CommandPanel/CommandPanelTemplate"> <Anchor side="Bottom" relative="$parent" pos="Max" offset="-8"/> <Anchor side="Right" relative="$parent" pos="Mid" offset="227"/> <Width val="454"/> <Height val="76"/> <Frame type="CommandTooltip" name="CommandTooltip" template="CommandButton/CommandTooltipTemplate"> <Anchor side="Bottom" relative="$parent" pos="Max" offset="-100"/> <Anchor side="Right" relative="$parent" pos="Mid" offset="235"/> </Frame> <Frame type="CommandButton" name="CommandButton00" template="CommandButton/CommandButtonTemplate"> <Anchor side="Top" relative="$parent" pos="Max" offset="0"/> <Anchor side="Left" relative="$parent" pos="Min" offset="0"/> </Frame> <Frame type="CommandButton" name="CommandButton05" template="CommandButton/CommandButtonTemplate"> <Anchor side="Top" relative="$parent" pos="Max" offset="0"/> <Anchor side="Left" relative="$parent" pos="Min" offset="0"/> </Frame> <Frame type="CommandButton" name="CommandButton09" template="CommandButton/CommandButtonTemplate"> <Anchor side="Top" relative="$parent" pos="Min" offset="0"/> <Anchor side="Left" relative="$parent" pos="Min" offset="0"/> </Frame> <Frame type="CommandButton" name="CommandButton10" template="CommandButton/CommandButtonTemplate"> <Anchor side="Top" relative="$parent" pos="Min" offset="0"/> <Anchor side="Left" relative="$parent/CommandButton09" pos="Max" offset="#CommandButtonGap"/> </Frame> </Frame> <Frame type="Image" name="CommandPanelBorder"> <Anchor side="Top" relative="$parent/CommandPanel" pos="Min" offset="-124"/> <Anchor side="Bottom" relative="$parent/CommandPanel" pos="Max" offset="55"/> <Anchor side="Left" relative="$parent/CommandPanel" pos="Min" offset="-24"/> <Anchor side="Right" relative="$parent/CommandPanel" pos="Max" offset="24"/> <Texture val="Assets\Textures\ui_battlenet_glues_pageassets_dialogbg.dds"/> <TextureType val="HorizontalBorder"/> <RenderPriority val="500"/> </Frame> <Frame type="InventoryPanel" name="InventoryPanel"> <RenderPriority val="499"/> <Frame type="CommandTooltip" name="InventoryTooltip" template="CommandButton/CommandTooltipTemplate"> <Anchor side="Bottom" relative="$parent" pos="Max" offset="-190"/> <Anchor side="Right" relative="$parent" pos="Mid" offset="235"/> </Frame> </Frame> </Frame> </Frame> </Desc>
How would I show 6 command buttons in a 6x1 line, hide the rest and move it to the bottom center?
Figured it out: