Thanks for your reply Stefan.
As such I do not have height for north and center panel, but I did try
a style for both panels and tried to make their size half of split
panel i.e. 300px, but did not work. And half & half I really do not
need, as long as both panels are visible, at the moment center panel
starts from top and so north is not visible at all initially. Below is
rough idea of code what I have at the moment. thanks for your time.
<ui:style>
.splitPnl {
text-align: left;
width: 925px;
height: 600px;
}
.header {
background: #d0e4f6;
}
.table {
table-layout: fixed;
cursor: pointer;
cursor: hand;
width: 100%;
}
.body {
line-height: 150%;
padding: 20px 40px 20px 10px;
font-family: 'Times New Roman', Times, serif;
}
</ui:style>
<g:DecoratorPanel>
<g:SplitLayoutPanel styleName='{style.splitPnl}'>
<g:north size='2'>
<g:DockLayoutPanel unit='EM'>
<g:north size='3'>
<g:FlexTable styleName='{style.header}'
cellSpacing='0' cellPadding='0'>
</g:FlexTable>
</g:north>
<g:center>
<g:ScrollPanel>
<g:FlexTable styleName='{style.table}' cellSpacing='0'
cellPadding='0' />
</g:ScrollPanel>
</g:center>
</g:DockLayoutPanel>
</g:north>
<g:center>
<g:ScrollPanel>
<g:HTML styleName='{style.body}' ui:field='messageBody'
wordWrap='true' />
</g:ScrollPanel>
</g:center>
</g:SplitLayoutPanel>
</g:DecoratorPanel>
On Jun 13, 4:20 pm, Stefan Bachert <
stefanbach...@yahoo.de> wrote:
> Hi,
>
> you did not supplied code. However, I guess, the panel is initially
> smaller then north and center panel together.
> To check just use setPixelSize with large values e.g.
> setPixelSize(1000, 1000)
>
> I afraid, probably the is no easy way to set half and half.
> Because you need to know the total height of the SplitLayoutPanel
> which is NOT the sum of both member panels.
>
> Stefan Bacherthttp://
gwtworld.de