Flex 4 List - 滚动条变得可见并覆盖 itemrenderer
我在 VDividedBox 中有一个列表。当调整框大小以使垂直滚动条显示在列表上时,它会覆盖一些项目渲染器。如何使列表水平调整大小以使滚动条不覆盖渲染器?
I have a list inside a VDividedBox. When the box is resized so the vertical scrollbar shows on the list, it covers some of the itemrenderers. How do I get the list to resize horizontally so that the scrollbar does not cover the renderers?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
实际上,我相当确定显示的不是列表滚动条,而是 VDividedBox 的滚动条,因此它覆盖了列表。这是 Flex 3 中的一个已知错误。如果我是您,我会将列表的高度设置为 100%,并通过在 VDividedBox 上执行
horizontalScollPolicy="off"
操作来删除滚动条。Actually, I'm fairly sure it's not the list scrollbar that's showing, but the VDividedBox's, hence why it's covering the list. It's a known bug in Flex 3. If I were you, I'd set the height of the list at 100% and remove the scrollbar by doing
horizontalScollPolicy="off"
on the VDividedBox.