I've spend a few days working on this. Some panels don't seem to work
fine toghether.
<g:DockLayoutPanel unit='EM'>
<g:north size='4'>
<g:FlowPanel>
<g:Label ui:field="journalLabel"></g:Label>
<g:Button ui:field="newEntryButton">New Entry</g:Button>
<g:Button ui:field="refreshButton">Refresh</g:Button>
<g:TextBox ui:field="searchString"></g:TextBox>
<g:Button ui:field="searchButton">Search</g:Button>
</g:FlowPanel>
</g:north>
<g:center>
<g:ScrollPanel height="100%">
<my:EntryScrollTable ui:field="entriesTable" width="100%" >
</my:EntryScrollTable>
</g:ScrollPanel>
</g:center>
</g:DockLayoutPanel>
Doesn't work if I surround it with a DecoratorPanel. It only shows an
horizontal line instead of a box.
This simpler case:
<g:DecoratorPanel>
<g:ScrollPanel height="100%">
<my:EntryScrollTable ui:field="entriesTable" width="100%" >
</my:EntryScrollTable>
</g:ScrollPanel>
<g:/DecoratorPanel>
Doesn't show the scroll bars when the window is resized.
I had to add this. To make it work at all.
@external middleCenter, gwt-DecoratorPanel, middle;
table.gwt-DecoratorPanel {
margin: 6px;
}
tr.middle {
height: 100%;
vertical-align: top;
}
td.middleCenter {
width: 100%;
}
But still it doesn't work with the ScrollPanel and the FixedWidthGrid
inside. Any suggestions?
--
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.