How do I use SplitLayoutPanel with UIBinder?
Asked Answered
C

3

1

How do I use SplitLayoutPanel with UIBinder? I've tried so many different things but none of them work properly.

Couperin answered 22/3, 2010 at 14:47 Comment(0)
A
5

You'll find that SplitLayoutPanel works just like DockLayoutPanel. (SplitLayoutPanel is a subclass of DockLayoutPanel.) You may have already read about this in the Developer's Guide section on Layout Panels.

Often, the UiBinder documentation for a class is actually given in the docs for its superclass. Take a look at the documentation for DockLayoutPanel and see if it works for you.

Alsatia answered 22/3, 2010 at 15:44 Comment(0)
D
0

The "Moving to Standards Mode" section of the Developer's Guide page on Layout using Panels says "SplitPanels are very unpredictable in standards mode, and you should almost invariably replace them with SplitLayoutPanel."

If that doesn't solve your issue, then please be more specific as to something that you've tried, what you expected to happen, and what happened instead.

Discern answered 22/3, 2010 at 15:27 Comment(1)
Ok then, how do I use a SplitLayoutPanel with UIBinder? I still cannot find any documentation containing sample code.Couperin
I
0

Here is the sample code for SplitLayoutPanel,

<g:SplitLayoutPanel>
    <g:west size="200">
        <g:VerticalPanel />
    </g:west>
    <g:center>
        <g:VerticalPanel />
    </g:center>
    <g:south size="200">
        <g:VerticalPanel />
    </g:south>
    <g:north size="200">
        <g:VerticalPanel />
    </g:north>
</g:SplitLayoutPanel>

Thanks,

Gnik

Iwo answered 30/4, 2012 at 10:13 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.