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.
精彩评论