I don’t believe Accordion cares
about the scroll policy, it’s the children that would scroll or the
parent container.
Matt
Hello flexcoders,
Does setting of
<mx:Accordion>'s property 'vScrollPolicy' to the value
"on" has any effect on
<mx:Accordion> appeareance?
I cannot create any test
sample that allows scrollbars to become
visible for the solemn single <mx:Accordion>
component.
The only workaround I can
currently think of is the wrap
<mx:Accordion> into extra container tag (
like <mx:VBox>)
The code follows:
<?xml version="1.0"
encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml"
width="100%" height="100%" creationIndex="0">
<mx:VBox width="200"
height="200" minHeight="0" minWidth="0"
vScrollPolicy="on">
<mx:Accordion width="100%"
height="300">
<mx:Canvas minHeight="0" minWidth="0"
vScrollPolicy="on">
<mx:HBox width="1000" height="2000"
backgroundColor="#FFCC00"></mx:HBox>
</mx:Canvas>
<mx:ControlBar width="100%" height="50" >
<mx:Text
text="bottom"></mx:Text>
</mx:ControlBar>
</mx:Accordion>
</mx:VBox>
</mx:Application>
--
Best regards,
Andriy
mailto:[EMAIL PROTECTED]
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
YAHOO! GROUPS LINKS
|