All,I have developed a custom widget in which I dynamically add information to a vGroup from related records when the user clicks the map. Sometimes the number of records are more than the widget can display, so I added scroll bars to the widget. It struck me as odd that I had to add the scroll bars as I thought the widget would do this automatically. However, adding scroll bars worked the first time the user opens the widget. If the user closes the widget and then re-opens it again, the scroll bars do not appear. Anyone have clue why they do not appear when the widget is re-opened?Additional info: code
<viewer:WidgetTemplate id="RI" closed="RI_closed()" addedToStage="RI_addedToStage()">
<s:Scroller id="resultsScoller" width="100%" height="100%">
<s:VGroup id="resultsGroup">
<s:Label text="Click a feature on the map to
retrieve related information" fontSize="14" fontWeight="bold"
fontStyle="italic"/>
</s:VGroup>
</s:Scroller>
</viewer:WidgetTemplate>
Thanks,Dan