开发者

Trying to set flex richtexteditor's default font-size

I just want to lock or set a default font size for the rich text editor. I tried setting font-size = 16, which although it did set the default to 16, also made all the labels etc... in the开发者_如何学编程 editor to font size 16.


You want to set the font size on the textArea of your RichTextEditor, which is a sub component of your editor. In ActionScript you could do this in a creation complete event handler like so:

myRichTextEditor.textArea.setStyle("fontSize", 16);

Hope that helps.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜