toxic

备忘录

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

在 mx:combbox中 使用 rowCount 属性来控制下拉框的高度

 

在 s:combbox 中

<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>

  

 

posted on 2014-01-17 16:03  toxic  阅读(829)  评论(0编辑  收藏  举报