Select to view content in your preferred language

QueryWidget InfoPopUp - resize

965
4
09-24-2010 10:55 AM
philippschnetzer
Frequent Contributor
I am using the QueryWidget to create a layer with traffic camera info - much like the out of the box example.  But I would like to make the InfoPopUp screen which portrays the image a little bigger and I cannot seem to find the place to make this change - I have made the actual container larger but the traffic camera image inside of it has stayed the same size....  Any help is much appreciated!
Tags (2)
0 Kudos
4 Replies
RobertScheitlin__GISP
MVP Emeritus
Phillip,

Inside the InfoPopupWidget adjust the height of the image component as depicted below:

<mx:Image id="infoImage"
                  height="150"
                  buttonMode="true"
                  click="showLink()"
                  includeInLayout="false"
                  maxWidth="{infoCanvas.width - 10}"
                  useHandCursor="true"
                  visible="false"/>
0 Kudos
philippschnetzer
Frequent Contributor
Tried that and although it resizes the 'container' the traffic camera image is still the same small size.  I also tried making the width property larger but the actual image still remains the same size.

Thanks!
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Phillip,

Ok they changed something on me.

You have to change the image height and this as well

<s:Group id="infoCanvas"
             width="210"
             minHeight="30">
0 Kudos
philippschnetzer
Frequent Contributor
Thanks, Robert!
0 Kudos