I have extended the PanelView and successfully created the ClippedPanelPview.
It is behaving as expected.
Below is code that i have written. Please check & suggest.
package views
{
import org.apache.flex.html.beads.PanelView;
public class ClippedPanelView extends PanelView
{
public function ClippedPanelView()
{
super();
}
override protected function layoutViewAfterContentLayout():void
{
super.layoutViewAfterContentLayout();
if(contentView.height < 0)
contentView.visible = false;
else
contentView.visible = true;
}
}
}
-----
Regards,
Prashant
--
View this message in context:
http://apache-flex-users.2333346.n4.nabble.com/FlexJS-Panel-Issue-tp13495p13498.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.