开发者

Mix s:Button and s:ToggleButton in s:ButtonBar

I would like some of the buttons in s:ButtonBar not to have a selected state. Imagine a menu where some buttons 开发者_开发技巧instead of opening a pop-up perform an action (they don't have to be selected while the pop-up is open).


You didn't actually ask a question, but I think I get what your after.

The buttons are created using factories defined as skin parts in the ButtonBar. In theory you could create your own custom classFactory to create a Button or ToggleButton based on some criteria.

It may be necessary to extend the ButtonBar to make it work, though.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜