Hello,

I'm trying to setup the general layout of my application, and ideally I
would like a menu at the top, something in the middle and a placeholder for
a status bar at the bottom. I'm using a Frame as it has built-in support
for the menu, and for the content I am using a BoxPane. The BoxPane will
contain a SplitPane followed by a Label for the status bar, but I can't get
the SplitPane to show up. If I have it on it's own (ie. not within the
BoxPane) it is fine, but it disappears when I have it in the BoxPane. My
BXML file looks like this:

<Frame xmlns="org.apache.pivot.wtk"
  title="My Title" styles="{showWindowControls:false}" maximized="true">

  <menuBar>
    *[...]*
  </menuBar>

  <BoxPane orientation="vertical" styles="{fill:true}">
    <SplitPane orientation="vertical" splitRatio="0.8">
      <left>
        <Border/>
      </left>
      <right>
        <Border/>
      </right>
    </SplitPane>
    <Label text="Status Bar Text"/>
  </BoxPane>
<Frame>

Am I missing something?

Many thanks,

Joseph.

Reply via email to