开发者

flex linkbutton text to span 2 lines

开发者 https://www.devze.com 2022-12-20 20:16 出处:网络
is there a way to span the text of a link button to 2 lines? so instead of \"Save Page\" to be in one line only, I 开发者_C百科want it to be in 2 lines.

is there a way to span the text of a link button to 2 lines? so instead of "Save Page" to be in one line only, I 开发者_C百科want it to be in 2 lines.

Thanks.


To achive this, you will have to create a custom Button-class, which extends the Button-class. There is a nice Blog about this on the Adobe site:

http://blogs.adobe.com/aharui/2007/04/multiline_buttons.html

It focussed on creating a multiline Radiobutton, but you can easily apply it for a button.

0

精彩评论

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