Robert,
I still have an issue here. What you gave me does help with the resizing. BUT, as shown in the attached picture. when the resizing gets to the point where it can't get any smaller, it should turn into a vertical scrollbar for the lower Results box. The scrollbar DOES show fine when more results are added and it gets to big, but it doesn't show when the viewer page is shrunk by the user.. I attached screen caps.
this is the entire code for the Results section...
<!--================= DATAGRID ==============-->
<!-- datagrid with Watershed Info, invisible if nothing created wRepeater.currentIndex,wRepeater.currentItem.wsName visible="{wsArray !=null && wsArray.length>0}" -->
<mx:Box top="0" bottom="0" left="0" width="100%" height="100%" paddingLeft="10" styleName="WidgetText" horizontalScrollPolicy="off" borderStyle="solid" borderVisible="true" visible="{wsArray !=null && wsArray.length>0}" >
<s:Label text=" " />
<s:Label id="txtDG" paddingLeft="5" fontWeight="bold" text="{resourceManager.getString('resources', 'results')}" />
<s:Label id="txtHeading" paddingLeft="5" text="{resourceManager.getString('resources', 'dgHeading')} " />
<mx:Canvas width="100%" >
<mx:VBox height="100%" width="100%" horizontalScrollPolicy="off" verticalScrollPosition="{this.width }" verticalScrollPolicy="auto" >
<mx:Repeater dataProvider="{wsArray}" id="wRepeater" >
<mx:HBox verticalAlign="middle" >
<s:Label text=" " />
<s:Label text=" " />
<mx:Button click="remove(event )" buttonMode="true" useHandCursor="true" toolTip="{resourceManager.getString('resources', 'deleteWS')}"
upSkin="@Embed('assets/images/delete.png')"
overSkin="@Embed('assets/images/delete_selected.png')"
downSkin="@Embed('assets/images/delete_selected.png')" width="20" height="20" />
<s:Label text=" " />
<mx:Button click="Export(event )" buttonMode="true" useHandCursor="true" toolTip="{resourceManager.getString('resources', 'exportWS')}"
upSkin="@Embed('assets/images/export.PNG')"
overSkin="@Embed('assets/images/export_selected.PNG')"
downSkin="@Embed('assets/images/export_selected.PNG')" width="20" height="20" />
<s:Label text=" " />
<s:Label text="{wRepeater.currentItem.wsName}" buttonMode="true" useHandCursor="true" color="#0000FF" textDecoration="underline" styleName="WidgetText" toolTip="{resourceManager.getString('resources', 'zoomWS')}" click="zoomLocation(event)" />
</mx:HBox>
<mx:HBox paddingLeft="15" >
<mx:Image id="showCharacterize" click="btnShowCharacterize(event)" buttonMode="true" useHandCursor="true" toolTip="{resourceManager.getString('resources', 'expand')}" source="{plusSign}" width="15" height="15" />
<s:Label text="{resourceManager.getString('resources', 'characterize')}" styleName="WidgetText" visible="true" />
</mx:HBox>
<!-- Datagrid of created watersheds -->
<mx:VBox id="displayDatagrid" paddingLeft="15" height="0" visible="false" >
<mx:DataGrid id="datagrid" dataProvider="{wRepeater.currentItem.gridData}" rowCount="5" styleName="WidgetText" itemClick="dgClick(event)" >
<mx:columns>
<mx:DataGridColumn headerText="Characterization" dataField="charType" width="125"/>
<mx:DataGridColumn headerText="Value" dataField="charValue" width="75"/>
<mx:DataGridColumn headerText="Select" dataField="charChkBox" width="50" itemRenderer="mx.controls.CheckBox" />
</mx:columns>
</mx:DataGrid>
<mx:Box paddingLeft="10" paddingBottom="5">
<s:Button id="btnCharacterize" click="characterize(event)" label="{resourceManager.getString('resources', 'selectChars')}" width="250" />
</mx:Box>
</mx:VBox>
<s:Label text=" " />
</mx:Repeater>
</mx:VBox>
</mx:Canvas>
</mx:Box>
thanks,