Hi Prashant, The default FlexJS Panel View does not support the extra overhead of clipping. It should be possible to create an alternate view that does support clipping. Let us know if you want to try to create it yourself. Otherwise we can try to find another volunteer to do it. You might be able to borrow some code from ScrollingViewport.as
HTH, -Alex On 9/2/16, 10:50 PM, "PKumar" <[email protected]> wrote: >Hi, > >I was writing one flexJS example using Panel. Below is my sample code. > ><?xml version="1.0" encoding="utf-8"?> ><js:Application xmlns:fx="http://ns.adobe.com/mxml/2009" > xmlns:js="library://ns.apache.org/flexjs/basic" >xmlns:ns="library://ns.apache.org/flexjs/svg"> > <fx:Script> > > </fx:Script> > <js:valuesImpl> > <js:SimpleCSSValuesImpl /> > </js:valuesImpl> > <js:initialView> > <js:View id="viewId" width="100%" height="100%"> > > <js:VContainer width="200" height="250" x="0" y="0"> > <ns:TextButton text="Show/Hide" > click="onBtnClick()" /> > <js:Panel id="panel1" width="100%" > height="100%" title="Test Panel"> > <js:Label text="I am in Panel" > /> > </js:Panel> > </js:VContainer> > </js:View> > </js:initialView> ></js:Application> > >Problem is when Panel height is zero then Label remains visible. But in >regular FlexSDK, Label does hide. So i am not sure that it is a issue or >not. As this should same as regular FlexSDK so i raise it. > > > >----- >Regards, >Prashant >-- >View this message in context: >http://apache-flex-users.2333346.n4.nabble.com/FlexJS-Panel-Issue-tp13495. >html >Sent from the Apache Flex Users mailing list archive at Nabble.com.
