Try this:
richTextArea.getFormatter().setJustification(Justification.FULL);

The RichTextArea uses execCommand() to modify the currently selected
contents of the editable area.  Some of the inputs to execCommand() do not
match similar CSS style names exactly.

Thanks,
John LaBanca
[email protected]


On Fri, Nov 27, 2009 at 8:58 AM, Nicolas Job <[email protected]> wrote:

> Dear contributors,
> I'm using the RichTextArea component from Google Web Toolkit and I met a
> problem with justifing text inside the text area. What I want is to justify
> my text like the CSS property "text-align:justify;" do it. Someone could
> help me ? is that feature planified in this editor ?
> Many thanks,
> Nicolas Job
>
> --
> --
> -
> ~  ~  ~  ~  ~  ~  ~  ~  ~  ~  ~  ~  ~
>     °                 °
>      °               °
>     °                 °
>       °              ° <'(((<<
>       °
>         °              \
>        °                |/
>          °          \  \/
>         °      \/     |/
> >))))`>         \    |
>                  \ /
> _  _   -  _   ~  -  /_\   ~    -    _
>    -     _    _    _    _     _    _  -
>
>  --
> http://groups.google.com/group/Google-Web-Toolkit-Contributors

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to