<g:VerticalPanel>
<g:Label>Discovery</g:Label>
<g:ListBox ui:field="discovery"/>
</g:VerticalPanel>
or:
<g:HTMLPanel>
<table>
<tr><td>discovery</td></tr>
<tr><td>
<select ui:field="discovery"/>
</td></tr>
</table>
</g:HTMLPanel>
HTML-elements and widgets can only be mixed in a HTMLPanel...
I'm using the UiBinder *.ui.xml files to create a modestly complex
layout. I elected to use the DockPanel and VerticalPanel to put things
into four columns. Within each Vertical Panel I started using <table>
and <tr> tags, but found they were not compatible. It is now use
<g:cell> and <g:Label> tags instead, but I'm still running into issues
if not, what's the current best practice to work around these issues?
Also, I didn't notice earlier, but you cannot use widgets that way,
they must be included within other widgets (only exceptions: some
custom parsers, and HTML markup inside an HTMLPanel, but they're still
Recent comments
2 years 45 weeks ago