Heres basically what I did, the LinkBar still forces the application to resize to the length of the link bar.  TabBar has the same behavior.  I tried hScrollPolicy=”auto” also, tried putting the hScrollPolicy on the linkbar as well.  Still no work, the HBox doesn’t seem to have any affect.

 

<?xml version="1.0" encoding="utf-8"?>

<mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml"

                                                                                                xmlns="*">

<mx:HBox width="100%" hScrollPolicy="on">

 <mx:LinkBar dataProvider="vs"></mx:LinkBar>

</mx:HBox>

 

<mx:ViewStack id="vs" width="100%" height="100%>

            <mx:Panel title="1" label="TESTING LINK BAR LENGTH" width="100%" height="100%"></mx:Panel>

            <mx:Panel title="2" label="TESTING LINK 1BAR LENGTH" width="100%" height="100%"></mx:Panel>

            <mx:Panel title="3" label="TESTING LINK 2" width="100%" height="100%"></mx:Panel>

            <mx:Panel title="4" label="TESTING LINK 3BAR LENGTH" width="100%" height="100%"></mx:Panel>

            <mx:Panel title="5" label="TESTING LINK 4BAR LENGTH" width="100%" height="100%"></mx:Panel>

            <mx:Panel title="6" label="TESTING LINK 5BAR LENGTH" width="100%" height="100%"></mx:Panel>

            <mx:Panel title="7" label="TESTING LINK 6BAR LENGTH" width="100%" height="100%"></mx:Panel>

            <mx:Panel title="8" label="TESTING LINK 7BAR LENGTH" width="100%" height="100%"></mx:Panel>

            <mx:Panel title="9" label="TESTING LINK 8BAR LENGTH" width="100%" height="100%"></mx:Panel>

</mx:ViewStack>

</mx:Application>

 


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL
Sent: Wednesday, February 15, 2006 8:01 PM
To: [email protected]
Subject: Re: [flexcoders] LinkBar questions - Flex 1.5

 

Bug?  :: shugs ::

 

Fix?  Throw it in an HBox with hScrollPolicy = "auto"

 

 

----- Original Message -----

Sent: Wednesday, February 15, 2006 8:40 PM

Subject: [flexcoders] LinkBar questions - Flex 1.5

 

The LinkBar appears not to scroll, if I hook it up to a view stack with say 15 items in the view stack it causes the application to resize to the length of the LinkBar which can be very long.

 

Is this a bug?  Is there a way to fix this?  I have tried to turn on the hScrollPolicy to no avail. 

 

THanks




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to