在边框容器周围放置滚动条
我有一个边框容器组件,其中还有一些其他组件。问题是当边框内的其他组件被调用时,会扩散到边框之外。有谁知道我如何在边框周围添加滚动条,以便 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>
I have a border container component that has some other components. the problem is when the other components inside the border components are called, the spread out of the border. Does anyone know how i could add scrollers round the border such that itz components are just within it?
<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>
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您需要在 as:Scroller 中使用 as:Group
这应该可以做到:
You need to use a s:Group inside a s:Scroller
This should do it: