Somebody can have a look pls, driving me nuts.
Thinking the HTMLPanel might be the bad guy, I replaced this with a
layoutpanel as well :
<ui:style>
@def coloricons #333333;
@def hovercolor orange;
body,html {
padding: 0;
border: 0;
margin: 0;
font-family: 'Droid Sans', sans-serif;
color: coloricons;
}
.layoutpanel {
border: 1px solid red;
min-widht: 400px;
}
.tablayoutpanel {
border: 1px solid green;
}
</ui:style>
<g:LayoutPanel ui:field="container" height="300px"
addStyleNames="{style.layoutpanel}">
<g:layer>
<g:TabLayoutPanel barUnit='PX' barHeight='30'
height="250px" addStyleNames="{style.tablayoutpanel}">
<g:tab height="100%" width="100%">
<g:header>actions</g:header>
* <g:LayoutPanel>*
* <g:layer>*
* <g:Label>test</g:Label>*
* </g:layer>*
* </g:LayoutPanel>*
</g:tab>
<g:tab height="100%" width="100%">
<g:header>history</g:header>
* <c:DataGrid ui:field='table' height="100%" />*
</g:tab>
</g:TabLayoutPanel>
</g:layer>
</g:LayoutPanel>
Still, the DataGrid remains empty while switching both tabs and the
DataGrid is showing OK :
<g:LayoutPanel ui:field="container" height="300px"
addStyleNames="{style.layoutpanel}">
<g:layer>
<g:TabLayoutPanel barUnit='PX' barHeight='30'
height="250px" addStyleNames="{style.tablayoutpanel}">
<g:tab height="100%" width="100%">
<g:header>history</g:header>
* <c:DataGrid ui:field='table' height="100%" />*
</g:tab>
<g:tab height="100%" width="100%">
<g:header>actions</g:header>
* <g:LayoutPanel>*
* <g:layer>*
* <g:Label>test</g:Label>*
* </g:layer>*
* </g:LayoutPanel>*
</g:tab>
</g:TabLayoutPanel>
</g:layer>
</g:LayoutPanel>
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-web-toolkit/-/foUcuUZl2rwJ.
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.