RichTextArea height size

50 views
Skip to first unread message

Saik0

unread,
Mar 13, 2012, 8:17:21 AM3/13/12
to google-we...@googlegroups.com
Hi @all,

why could i change the width of the RichTextArea with css but not the height? What i'm missing :-\ ?

Source:
RichTextArea area = new RichTextArea();
area.setSize("100%", "100%");

dodo dard

unread,
Mar 14, 2012, 4:46:19 AM3/14/12
to Google Web Toolkit
The height of an html textarea is define by number of colonne, not the
content of the area it self.
So I think you cant not set it with 100%, try with pixel.

Dodo

========================
www.html5bydemo.com

Saik0

unread,
Mar 14, 2012, 6:22:04 AM3/14/12
to google-we...@googlegroups.com
Hi, thanks for your reply.

You are right. I can't change the area itself. I've put the RichTextArea into a VerticalPanel and change the width and the height oft this panel. Now my RichTextArea looks fine ^^

greetings
Reply all
Reply to author
Forward
0 new messages