i have a textArea where i show some errors happened during a file loading. Now i will want customize my text area in this way:
I want to show a few character in bold, I saw that Label consent this,but can I also do this with a textarea?
I solved using a RichTextArea whitout top and bottom toolbar
.no-toolbar-top .gwt-RichTextToolbar-top{
display: none;
}
.no-toolbar-bottom .gwt-RichTextToolbar-bottom{
display: none;
}
Then i added these styles at components:
RichTextArea myArea = new RichTextArea();
myArea.addStyleName("no-toolbar-top");
myArea.addStyleName("no-toolbar-bottom");
myArea.setValue("<p><small> Error <b> Row 1 Col 2 </b> error description </small></p>");