In GWT, a personalized logging area can be created by implementing a HasWidgetsLogHandler
. In my situation, I am using a VerticalPanel
. However, the logging output is too wide and distorts the rest of the page. How can I wrap the lines?
Each log entry adds an HTML
element through the HasWidgetsLogHandler
. I attempted to style the individual elements in UiBinder without success:
<ui:style>
@external gwt-HTML;
.gwt-HTML {
white-space: normal;
}
</ui:style>
Even trying to add overflow: hidden
—which would have been a less ideal solution—had no impact.
Any guidance on this matter would be greatly appreciated.