【发布时间】:2013-01-24 08:18:07
【问题描述】:
我创建了一个自定义布局并应用如下代码:
<mx:Accordion x="10" y="10" width="292" height="417">
<s:NavigatorContent width="100%" height="100%" label="Electronics Symbols">
<s:Scroller x="0" y="0" width="200" height="300">
<s:Group width="100%" height="100%">
<s:layout>
<local:gridLayout/>
</s:layout>
<inductors:Inductor mouseDown="mouseDown(event)"/>
<inductors:IronCoreInductor mouseDown="mouseDown(event)"/>
<inductors:LongInductor mouseDown="mouseDown(event)"/>
<inductors:VariableInductor mouseDown="mouseDown(event)"/>
`
这里 gridLayout 是我的自定义布局。当我使用 flex 布局时,滚动条可以工作,但在这个布局上它不起作用。
【问题讨论】:
-
尝试在群组上设置 clipAndEnableScrolling="true"
标签: actionscript-3 apache-flex flex4.6