Thanks Andriy,

Yea -- I've been browsing the source and it really looks like the core of the methods have to do with the method setTextStyles('bold', event.currentTarget.selected); -- so I could potentially just make the entire toolbar invisible and then make calls that directly set styles such as doBold() or doUnderline() and then I can position any amount of widgets I want, but have a single textarea which can have the same functionality.

   Thanks for the help - I think this will pan out well.

   Best, Austin

Andriy Panas wrote:

Hi Austin,

Click F3 on mx:RichTextEditor (RTE component) tag in Flex Builder 2 and study its source code to better understand its behavior.

You can skinn toolbar buttons with a new graphics easily and decorate RTE's container with new CSS styles.

But if you'd like to have a complete control over the layouting of buttons controls for RTE component and its overall look, I would suggest to copy-paste all the code from mx:RichTextEditor into your own brand new RTE class and then feel free to modify it.

On 23/10/2007, *Austin Kottke* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

    Hi, does anyone have any idea how I could customize the
    richtexteditor
    component so that it looks the way I want it to?

    I want to call the bold/ital/underline text directly through the
    richtexteditor class without having to use the stock component's look
    and feel. Mainly just use the richtexteditor textarea and then use my
    own buttons to input and modify text with my own look. I've done a
    subclass of the richttexteditor class -- however I am completely
    unfamiliar with the component itself and how it binds the buttons
    to it.
    Unfortunately it's not very configurable.


--
Med venlig hilsen / Best regards Andriy Panas
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>

Reply via email to