We got this css to make a long string (without any space in it, URL for example) to fall into many new lines rather than just show 1 line:
.wordWrap{ word-wrap:break-word; }
in .xml file
<table>
<tr>
<td>
<g:HTMLPanel ui:field="myPanel" addStyleNames="{style.wordWrap}" > <g:Label text="Aaaaaa..very long string without any space in it... aa"> <g:/HTMLPanel>
</td>
</tr>
</table>
This does not work.
However, if we remove the <table>
then it work fine
So Why "word-wrap" css style doesn't work inside a (GWT)?
(http://stackoverflow.com/questions/22740185/why-word-wrap-css-style-doesnt-work-inside-a-table-gwt)
Do you know how to fix it?
<g:Grid addStyleNames="{style.myBreakWord}">
<g:row>
<g:cell>
Subject
</g:cell>
<g:customCell>
<g:Label text="Aaaaaaaa....very long a...aaaaaaaaaaa" />
</g:customCell>
</g:row>
</g:Grid>
in Css
.myBreakWord{ word-wrap:break-word; table-layout:fixed;}