Flex 4 的ComboBox下拉框滚动条Scroller(VerticalScrollBar)的thumb过小问题的解决
Flex 4 的ComboBox弹出的下拉框滚动条由于数据过多而导致thumb太小不易操作,暂可如下设置:
代码
<s:ComboBox id = "startPage"
width="70"
dataProvider = "{_model.resExportStartEndPage}"
labelField="label"
selectedIndex = "0"
change = "onStartPageChange(event)">
<s:open>
<![CDATA[
(startPage.scroller.getChildAt(0) as ScrollerSkin).verticalScrollBar.thumb.minHeight = 20;
]]>
</s:open>
</s:ComboBox>