Hi,
I would like a panel with split bars like this:
+--------------------+--------------------+
| | |
| west | east |
| | |
+--------------------+--------------------+
| |
| center |
| |
+--------------------+--------------------+
I believe that this is not possible with a single SplitLayoutPanel, but it
requires two nested SplitLayoutPanels, correct?
I have realized it in UIBinder like shown below. An outer SplitPanel
divides the space into an upper and a lower area, and an inner SplitPanel
devides the upper area into a left and right side.
Can this be done in a better way, e. g. with only one SplitLayoutPanel?
Now the main question:
Both split bars should be initially positioned at the middle, so that the
splitted areas are of same size. I tried to do this with size="50" and
unit="PCT", but this does not work.
What can I do else?
Thank you
Magnus
<g:SplitLayoutPanel width="100%" height="100%">
<g:north size='150' unit='EM'>
<g:SplitLayoutPanel width="100%" height="100%">
<g:west size='150' unit='EM'>
<g:FlowPanel>
<g:Label text="west" />
</g:FlowPanel>
</g:west>
<g:center>
<g:FlowPanel>
<g:Label text="center" />
</g:FlowPanel>
</g:center>
</g:SplitLayoutPanel>
</g:north>
<g:center>
<g:FlowPanel>
<g:Label text="center" />
</g:FlowPanel>
</g:center>
</g:SplitLayoutPanel>
</ui:UiBinder>
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.