Tutorials/Fixing inventory buttons

From SC2Mapster Wiki
Jump to: navigation, search

Fixing the Inventory Buttons

The current Inventory buttons have been broken in the UI by Blizzard's patches to be hidden by the Menu button and other default UI buttons.

This can be easily fixed though using the UI editor.

First start by adding a new layout, call it something of your choice, like CustomUI, or GameUIModifiers.

Then add the 1 of the following codes between the Desc tags

  1. To the left of the menu bar
   <Frame type="GameUI" name="GameUI" file="GameUI">
       <Frame type="Frame" name="UIContainer">
           <Frame type="Frame" name="ConsoleUIContainer">
               <Frame type="InventoryPanel" name="InventoryPanel" template="InventoryPanel/InventoryPanelTemplate">
                   <Frame type="InventoryContainer" name="InventoryButtons">
                       <Anchor side="Right" relative="$parent/$parent/$parent/FullScreenUpperContainer/MenuBar" pos="Min" offset="0"/>
                   </Frame>
               </Frame>
           </Frame>
       </Frame>
   </Frame>
  1. Above the menu bar
   <Frame type="GameUI" name="GameUI" file="GameUI">
       <Frame type="Frame" name="UIContainer">
           <Frame type="Frame" name="ConsoleUIContainer">
               <Frame type="InventoryPanel" name="InventoryPanel" template="InventoryPanel/InventoryPanelTemplate">
                   <Frame type="InventoryContainer" name="InventoryButtons">
                       <Anchor side="Right" relative="$parent" pos="Max" offset="0"/>
                       <Anchor side="Bottom" relative="$parent/$parent/$parent/FullScreenUpperContainer/MenuBar" pos="Min" offset="0"/>
                   </Frame>
               </Frame>
           </Frame>
       </Frame>
   </Frame>


Problem Solved