This has come up on the mailing list before, but I can't remember the details off the top of my head.
Daniel, I think you need to provide a preferredWidth & preferredHeight or perhaps minimumWidth & minimumHeight. Anyway, this works for me. <Window title="Split Pane - Preferred Size" maximized="true" xmlns:bxml=" http://pivot.apache.org/bxml" xmlns="org.apache.pivot.wtk"> <BoxPane styles="{padding:8}"> <SplitPane splitRatio="0.5" preferredWidth="400" preferredHeight="400"> <left> <Border title="Left" /> </left> <right> <Border title="Right" /> </right> </SplitPane> </BoxPane> </Window> Chris On 5 March 2011 22:42, Daniel Ziltener <[email protected]> wrote: > I'm trying to put a SplitPane inside a BoxPane, but this doesn't work. I > tried literally everything, from wrapping it inside another container before > putting it inside the BoxPane over manually setting the size but nothing > works. It seems like it gets a height of 0, even when manually setting it to > another value. It only seems to work when put in the Window tag as the only > component. > What am I doing wrong? >
