horizontalScrollPolicy="off" verticalScrollPolicy="off"

博客介绍了能够实现隐藏flex控件滚动条的相关内容,聚焦于信息技术中前端开发方面的操作。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

可以实现隐藏flex控件的滚动条。
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" borderColor="#B7B8BA"> <mx:Script source="include/OLAPAppInFlex.as" /> <mx:Script source="include/Chart.as" /> <mx:Script source="include/FlexBIDataGrid.as" /> <mx:Script source="include/OLAPGridConfigure.as" /> <mx:Style source="css/DAXBI.css"/> <mx:VDividedBox id="mainbox" width="100%" height="100%" x="10" y="10" creationComplete="addListeners()"> <mx:LinkBar dataProvider="{viewStack}" direction="horizontal" labelField="name" /> <mx:ViewStack id="viewStack" width="100%" height="75%" creationComplete="showData()" change="viewChanged(event)"> <mx:HBox id="columnBox" name="ColumnChart" width="100%"> <mx:ColumnChart id="columnChart" showDataTips="true" width="100%" height="100%"/> <mx:Panel id="columnLegendPanel" horizontalScrollPolicy="off"> <mx:Box maxHeight="250" horizontalScrollPolicy="off"> <mx:Legend id="columnLegend" width="100%" /> </mx:Box> </mx:Panel> </mx:HBox> <mx:HBox id="pieBox" name="PieChart" width="100%"> </mx:HBox> <mx:HBox id="lineBox" name="LineChart" width="100%"> <mx:LineChart id="lineChart" showDataTips="true" width="100%" height="100%" /> <mx:Panel id="lineLegendPanel" horizontalScrollPolicy="off"> <mx:Box maxHeight="250" horizontalScrollPolicy="off"> <mx:Legend id="lineLegend" width="100%" /> </mx:Box> </mx:Panel> </mx:HBox> </mx:ViewStack> <mx:Canvas width="100%" height="25%"> <mx:OLAPDataGrid id="myOLAPDG" width="100%" height="100%" initialize="configureGrid()"> <!--<mx:OLAPDataGrid id="myOLAPDG" width="100%" height="100%">--> </mx:OLAPDataGrid> </mx:Canvas> </mx:VDividedBox> </mx:Application>
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值