RE: [flexcoders] Displaying spark scrollbars for mx components wrapped in a scroller

2012-02-09 Thread Philip Smith




Thanks Haykel, I was able to get the spark scrollbars to display based on your 
example. But the width and height of the container component () needs to percentage 
based in my real world application, so it looks like I'm going to have to skin 
the mx scroll bars separately for now.

To: flexcoders@yahoogroups.com
From: hayke...@gmail.com
Date: Thu, 9 Feb 2012 08:19:38 +0100
Subject: Re: [flexcoders] Displaying spark scrollbars for mx components wrapped 
in a scroller


















 



  



  
  
  
The child of the Scroller (called viewport) must resize freely for scrolling to 
work. If you set its size to '100%' then it will always have the size of the 
scroller and scrolling will never be required. Try this (not tested):



  


  

Haykel Ben Jemia

Allmas
Web & Mobile Development
http://www.allmas-tn.com






On 9 February 2012 02:15, method_air  wrote:
















 



  



  
  
  Is it possible to hide the mx scrollbars for an mx component, and show 
the spark scrollbars of the spark 'scroller' component wrapping it instead? How 
can I get this example to work:





   



   





Cheers,



Philip







 









  












 









  
  

Re: [flexcoders] Displaying spark scrollbars for mx components wrapped in a scroller

2012-02-08 Thread Haykel BEN JEMIA
The child of the Scroller (called viewport) must resize freely for
scrolling to work. If you set its size to '100%' then it will always have
the size of the scroller and scrolling will never be required. Try this
(not tested):


  

  


Haykel Ben Jemia

Allmas
Web & Mobile Development
http://www.allmas-tn.com




On 9 February 2012 02:15, method_air  wrote:

> **
>
>
> Is it possible to hide the mx scrollbars for an mx component, and show the
> spark scrollbars of the spark 'scroller' component wrapping it instead? How
> can I get this example to work:
>
>  height="100%"
> verticalScrollPolicy="on"
> >
>  height="100%">
>  verticalScrollPolicy="off"
> horizontalScrollPolicy="off"
> height="100%" />
> 
> 
>
> Cheers,
>
> Philip
>
>  
>