1
我有一個自定義滾動條來控制一個組作爲它的視口。自動隱藏自定義滾動條Flex 4
<s:HGroup>
<s:Group width="520" height="380" clipAndEnableScrolling="true" id="descriptionBox" >
<s:RichText text="Test Test Test Test Test Test Test "
width="490" textAlign="justify" fontFamily="Arial" fontSize="12" color="#999999" />
</s:Group>
<s:VScrollBar viewport="{descriptionBox}"
left="{descriptionBox.x + descriptionBox.width + 10}"
top="10"
height="{descriptionBox.height}"
fixedThumbSize="true"
skinClass="VScrollBarSkin"/>
</s:HGroup>
我要作出這樣的滾動條自動隱藏,當該組的內容不超過視圖大小,任何想法如何做到這一點一般(意思是我不想依賴視口組內的部件上) ?
謝謝。
Flex中
您好,感謝您的答覆,我沒有看到在那裏的任何代碼? – shipmaster 2010-01-12 17:10:34
是否解決了這個問題? – 2010-02-20 03:48:02
是的,謝謝。 – shipmaster 2010-03-02 22:22:18