Staredit Network > Forums > SC2 Assistance > Topic: [SOLVED] Command Card UI issue
[SOLVED] Command Card UI issue
This topic is locked. You can no longer write replies here.
Mar 13 2013, 9:26 pm
By: DevliN  

Mar 13 2013, 9:26 pm DevliN Post #1

OVERWATCH STATUS GO

I'm having an issue with the command card UI, and I'm not sure what's causing it. This used to work fine, so I'm not sure what exactly is making it no longer work. Basically I have 6 command card buttons in a row (05, 06, 07, 08, 09, 10), then a small gap, and 2 more (00, 01). The first six line up perfectly, but the last two don't show up at all.
Code
       <Frame type="CommandButton" name="CommandButton05" template="CommandButton/CommandButtonTemplate">
           <Anchor side="Top" relative="$parent" pos="Min" offset="0"/>
           <Anchor side="Left" relative="$parent" pos="Min" offset="#CommandButtonGap"/>
       </Frame>
       <Frame type="CommandButton" name="CommandButton06" template="CommandButton/CommandButtonTemplate">
           <Anchor side="Top" relative="$parent/CommandButton05" pos="Min" offset="0"/>
           <Anchor side="Left" relative="$parent/CommandButton05" pos="Max" offset="#CommandButtonGap"/>
       </Frame>
       <Frame type="CommandButton" name="CommandButton07" template="CommandButton/CommandButtonTemplate">
           <Anchor side="Top" relative="$parent/CommandButton06" pos="Min" offset="0"/>
           <Anchor side="Left" relative="$parent/CommandButton06" pos="Max" offset="#CommandButtonGap"/>
       </Frame>
       <Frame type="CommandButton" name="CommandButton08" template="CommandButton/CommandButtonTemplate">
           <Anchor side="Top" relative="$parent/CommandButton07" pos="Min" offset="0"/>
           <Anchor side="Left" relative="$parent/CommandButton07" pos="Max" offset="#CommandButtonGap"/>
       </Frame>
       <Frame type="CommandButton" name="CommandButton09" template="CommandButton/CommandButtonTemplate">
           <Anchor side="Top" relative="$parent/CommandButton08" pos="Min" offset="0"/>
           <Anchor side="Left" relative="$parent/CommandButton08" pos="Max" offset="#CommandButtonGap"/>
       </Frame>
     <Frame type="CommandButton" name="CommandButton10" template="CommandButton/CommandButtonTemplate">
           <Anchor side="Top" relative="$parent/CommandButton09" pos="Min" offset="0"/>
           <Anchor side="Left" relative="$parent/CommandButton09" pos="Max" offset="#CommandButtonGap"/>
     </Frame>
     <Frame type="CommandButton" name="CommandButton00" template="CommandButton/CommandButtonTemplate">
           <Anchor side="Top" relative="$parent/CommandButton10" pos="Min" offset="0"/>
           <Anchor side="Left" relative="$parent/CommandButton10" pos="Max" offset="10"/>
     </Frame>
       <Frame type="CommandButton" name="CommandButton01" template="CommandButton/CommandButtonTemplate">
           <Anchor side="Top" relative="$parent/CommandButton00" pos="Min" offset="0"/>
           <Anchor side="Left" relative="$parent/CommandButton00" pos="Max" offset="#CommandButtonGap"/>
       </Frame>
     <Frame type="CommandButton" name="CommandButton11" template="CommandButton/CommandButtonTemplate">
       <Visible val='False'/>
           <Anchor side="Top" relative="$parent/CommandButton05" pos="Max" offset="#CommandButtonGap"/>
           <Anchor side="Left" relative="$parent/CommandButton05" pos="Min" offset="0"/>
     </Frame>


And I realize I could get rid of the 06 through 09 frames since they aren't modified at all, but I included them just to see if maybe the chaining was wrong.

For reference, this is what I used to use in my SC2Layout file that used to work:
Code
        <Frame type="CommandButton" name="CommandButton05" template="CommandButton/CommandButtonTemplate">
          <Anchor side="Top" relative="$parent" pos="Min" offset="0"/>
          <Anchor side="Left" relative="$parent" pos="Min" offset="#CommandButtonGap"/>
        </Frame>
        <Frame type="CommandButton" name="CommandButton10" template="CommandButton/CommandButtonTemplate">
          <Visible val='False'/>
          <Anchor side="Top" relative="$parent/CommandButton09" pos="Min" offset="0"/>
          <Anchor side="Left" relative="$parent/CommandButton09" pos="Max" offset="#CommandButtonGap"/>
        </Frame>
        <Frame type="CommandButton" name="CommandButton11" template="CommandButton/CommandButtonTemplate">
          <Visible val='False'/>
          <Anchor side="Top" relative="$parent/CommandButton01" pos="Min" offset="0"/>
          <Anchor side="Left" relative="$parent/CommandButton01" pos="Max" offset="#CommandButtonGap"/>
        </Frame>
        <Frame type="CommandButton" name="CommandButton00" template="CommandButton/CommandButtonTemplate">
          <Visible val='False'/>
          <Anchor side="Top" relative="$parent/CommandButton10" pos="Min" offset="0"/>
          <Anchor side="Left" relative="$parent/CommandButton10" pos="Max" offset="10"/>
        </Frame>


Post has been edited 1 time(s), last time on Mar 13 2013, 10:06 pm by DevliN.



\:devlin\: Currently Working On: \:devlin\:
My Overwatch addiction.

Mar 13 2013, 10:06 pm DevliN Post #2

OVERWATCH STATUS GO

Scratch that, solved. Apparently the "Simple Command Card" option removes the first row (00-04) entirely. Overriding that fixed this.



\:devlin\: Currently Working On: \:devlin\:
My Overwatch addiction.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[06:51 pm]
Vrael -- It is, and I could definitely use a company with a commitment to flexibility, quality, and customer satisfaction to provide effective solutions to dampness and humidity in my urban environment.
[06:50 pm]
NudeRaider -- Vrael
Vrael shouted: Idk, I was looking more for a dehumidifer company which maybe stands out as a beacon of relief amidst damp and unpredictable climates of bustling metropolises. Not sure Amazon qualifies
sounds like moisture control is often a pressing concern in your city
[06:50 pm]
Vrael -- Maybe here on the StarEdit Network I could look through the Forums for some Introductions to people who care about the Topics of Dehumidifiers and Carpet Cleaning?
[06:49 pm]
Vrael -- Perhaps even here I on the StarEdit Network I could look for some Introductions.
[06:48 pm]
Vrael -- On this Topic, I could definitely use some Introductions.
[06:48 pm]
Vrael -- Perhaps that utilizes cutting-edge technology and eco-friendly cleaning products?
[06:47 pm]
Vrael -- Do you know anyone with a deep understanding of the unique characteristics of your carpets, ensuring they receive the specialized care they deserve?
[06:45 pm]
NudeRaider -- Vrael
Vrael shouted: I've also recently becoming interested in Carpet Cleaning, but I'd like to find someone with a reputation for unparalleled quality and attention to detail.
beats me, but I'd make sure to pick the epitome of excellence and nothing less.
[06:41 pm]
Vrael -- It seems like I may need Introductions to multiple companies for the Topics that I care deeply about, even as early as Today, 6:03 am.
[06:38 pm]
Vrael -- I need a go-to solution and someone who understands that Carpets are more than just decorative elements in my home.
Please log in to shout.


Members Online: Vrael, Roy, NudeRaider