PDA

View Full Version : TextArea without a toolbar / multiline TextField



cyChop
7 Sep 2010, 1:44 AM
Hi there,

I am looking for a solution to display a textbox, but haven't found a way yet:

either to hide the toolbar of the TextArea component
or display a TextField<String> on several lines.


The first solution sounds better to me. Since I haven't found anything on the web, I suppose this is a false problem. Am I to use a GWT component then? I have been getting used to GXT Field<?> objects, and actually, using a GWT component in my FormPanels might be somehow problematic...

Thanks in advance!

sven
7 Sep 2010, 1:47 AM
A TextArea component does not have a ToolBar. Only a HtmlEditor component has one and that can be hidden (setShowToolbar)

cyChop
7 Sep 2010, 2:46 AM
Sorry sven, an error in my code due to a copy-paste... Thanks!