Select to view content in your preferred language

Editing Viewer 2.4's Pop-Up Skin

5597
33
08-11-2011 08:51 AM
ChadKijewski
Emerging Contributor
Hey all,

I was wondering if anyone could impart any insight regarding altering the skin of the built-in pop-up utility.  In particular, I'm trying to figure out how to remove the 'Zoom To' button that automatically appears at the bottom of each generated pop-up.  I'm going through the compiled source code now but unfortunately I can't seem to find a particular MXML that governs the popup's skin, and was hoping someone could point me in the right direction.

Thanks for any help in advance.
Tags (2)
0 Kudos
33 Replies
RobertScheitlin__GISP
MVP Emeritus
Miguel,

   No that just means that you need to be working with the keyValueGroup instead of the descriptionText.
0 Kudos
MiguelRueda
Emerging Contributor
Miguel,

   No that just means that you need to be working with the keyValueGroup instead of the descriptionText.


Robert,

That's right, but i have already did that, maybe i'm not getting the idea. This is what i did, i have tested this property in a dropdown and it works, i don't know what i'm doing wrong here:

<s:Group id="keyValueGroup" width="100%" alternatingItemColors="[0xEEEEEE, 0xDFDFDF]">
    <s:layout>
     <!--- @private -->
     <s:ConstraintLayout id="keyValueGroupLayout" >
      <s:constraintColumns>
       <!--- @private -->
       <s:ConstraintColumn id="col1" maxWidth="100" />
       <!--- @private -->
       <s:ConstraintColumn id="col2" width="100%"/>
      </s:constraintColumns>
     </s:ConstraintLayout>
    </s:layout>
   </s:Group>

Sorry to take your time but i'm really confused with this.

Thanks a lot for your valuable time.

Miguel.
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Miguel,

  Well it is definitely not that simple. AlternatingItemColors has no effect as you have noticed. I would say that you will have to add a bordercontainer or something to each row so that you can define a background color. I don't now the answer to this one right now.
0 Kudos
MiguelRueda
Emerging Contributor
Miguel,

  Well it is definitely not that simple. AlternatingItemColors has no effect as you have noticed. I would say that you will have to add a bordercontainer or something to each row so that you can define a background color. I don't now the answer to this one right now.


I will try that, I'm relief a little right now... Thanks a lot Robert, hope i don't bother u much, i will post the code when i reach to the solution.

Miguel.
0 Kudos