This is normal <g:HTMLPanel> creates that.
<g:HTMLPanel></g:HTMLPanel> it is like <div></div>.
Try to do :
***** DateBox.ui.xml ***********
<ui:UiBinder>
<g:HTMLPanel>
<table><tr>
<td> <g:TextBox ui:field="month" ></g:TextBox></td>
<td> <g:TextBox ui:field="day"></g:TextBox></td>
<td> <g:TextBox ui:field="year"></g:TextBox></td>
</tr></table>
</g:HTMLPanel>
</ui:UiBinder>
***** MyLayout.ui.xml ******
<ui:UiBinder>
<g:HTMLPanel>
<table>
<tr>
<td> Leading Stuff </td>
<td><my:DateBox ui:field="birthDate"></
my:DateBox></td>
<td> Trailing Stuff </td>
</tr>
</table>
</g:HTMLPanel>
</ui:UiBinder>
Be carefull of padding and spacing for those tables becouse am sure
you dont wana see the difference in paiting the cells of outer table
and inner tables. Second important thing is the size of that inner
table columns. If this is a date so you are sure that the fileds got
fixed length so you can do like this:
***** DateBox.ui.xml ***********
...
<td width="25px"> <g:TextBox ui:field="month" ></
g:TextBox></td>
<td width="25px"> <g:TextBox ui:field="day"></
g:TextBox></td>
<td width="50px"> <g:TextBox ui:field="year"></
g:TextBox></td>
...
and
***** MyLayout.ui.xml ******
...
<td width="100px"><my:DateBox ui:field="birthDate"></
my:DateBox></td>
...
If you want some padding and spacing you need to change the width
attribute in MyLayout.ui.xml to proper value.
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.