2012-11-19 52 views
0

选项卡按钮,我想创建一个TabBarButton皮肤看起来像样品:enter image description here与外圆角

有未圆的底角。我如何使用MXML标记来做到这一点?

回答

2

Rect的按钮外观中设置了正y半径和负x半径。

<s:Rect left="0" right="0" top="0" bottom="0" 
      bottomLeftRadiusX="-5" bottomLeftRadiusY="5" 
      bottomRightRadiusX="-5" bottomRightRadiusY="5">