hel*_*esk 2 apache-flex containers scroll flex4.5
我有一个边框容器组件,其中包含一些其他组件.问题是当边框组件内的其他组件被调用时,会扩散出边界.有谁知道如何在边框周围添加滚动条,以便itz组件在其中?
<s:BorderContainer id="varGroup" includeIn="initial">
<s:Form width="151" height="154">
<s:layout>
<s:FormLayout gap="0" />
</s:layout>
<s:FormItem width="137" label="Name:" height="25">
<s:TextInput id="TnameTI" width="99"/>
</s:FormItem>
<s:FormItem width="137" label="condition:" height="25">
<s:TextInput id="TcondTI" width="99"/>
</s:FormItem>
</s:Form>
<components:NewModel x="0" y="61"/>
</s:BorderContainer>
Run Code Online (Sandbox Code Playgroud)
<s:BorderContainer id="varGroup" includeIn="initial">
<s:Scroller left="0" right="0" top="0" bottom="0">
<s:Group left="0" right="0" top="0" bottom="0">
<s:Form width="151" height="154">
<s:layout>
<s:FormLayout gap="0" />
</s:layout>
<s:FormItem width="137" label="Name:" height="25">
<s:TextInput id="TnameTI" width="99"/>
</s:FormItem>
<s:FormItem width="137" label="condition:" height="25">
<s:TextInput id="TcondTI" width="99"/>
</s:FormItem>
</s:Form>
<components:NewModel x="0" y="61"/>
</s:Group>
</s:Scroller>
</s:BorderContainer>
Run Code Online (Sandbox Code Playgroud)