gpt4 book ai didi

apache-flex - 带组的 Flex 4 滚动条。滚动条不显示

转载 作者:行者123 更新时间:2023-12-04 02:51:25 27 4
gpt4 key购买 nike

我知道我以前做过这个,但每次我使用滚动条和组时,它都不适合我,而且会浪费我 2 天的时间。

<s:Scroller width="100%" height="100%" horizontalScrollPolicy="auto" verticalScrollPolicy="auto">
<s:Group clipAndEnableScrolling="true">...... ..... </s:Group></s:Scroller>

这是我的。我的团队内部有一些组件,即使在大显示器上也足以让滚动条出现。但是我没有得到任何滚动条。

请告诉我我在这里做错了什么。因为每次我修复它,我都会为下一次而奋斗。

谢谢。

最佳答案

试试这个

您的滚动条父容器需要设置非百分比高度/宽度。

<s:BorderContainer width="120" height="100" backgroundColor="#FFFFFF">
<s:Scroller width="100%" height="100%">
<s:Group>
<s:layout>
<s:VerticalLayout horizontalAlign="justify"
clipAndEnableScrolling="true" />
</s:layout>
<s:Button label="button (1)" />
<s:Button label="button (2)" />
<s:Button label="button (3)" />
<s:Button label="button (4)" />
<s:Button label="button (5)" />
<s:Button label="button (6)" />
</s:Group>
</s:Scroller>
</s:BorderContainer>

关于apache-flex - 带组的 Flex 4 滚动条。滚动条不显示,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13889159/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com