问题描述
我正在寻找像单代树视图这样的组件,它可以折叠一个部分或展开任何或所有部分,但它看起来像一个手风琴:标题和画布页面".
I'm looking for a component like a single-generation treeview that can collapse a section or expand any or all sections, but it would look like an Accordion: headings and canvas "pages".
显然,每一页都不会占据容器的整个高度;它们的高度是固定的.
Obviously, each page would not take up the entire height of the container; they would be fixed height.
也许我没有使用正确的术语(因此使用了错误的搜索词).
Perhaps I am not using the correct terminology (and hence the wrong search terms).
欢迎所有建议.
推荐答案
你可以尝试一个带有多个 WindowShade 组件来自 flexlib库,就像在这个 example 中一样.您需要调整样式,使其看起来更像手风琴.
You could try a VBox with multiple WindowShade components from the flexlib library, like in this example. You'd need to tweak the styles so it looks more accordian-like though.
这篇关于像多选手风琴一样的 Flex 组件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!