Just found out it works if the Border acts as the container (without having a BoxPane as a parent). No fill property needs to be set.

Edgar Merino






Edgar Merino escribió:
Hello, after checking out from svn yesterday I've been struggling with an issue here: I have a Border that I would like to take up all the available space of it's enclosing parent (a BoxPane), I've tried this using the fill property of BoxPaneSkin but it only works when BoxPane#orientation is set to VERTICAL, and it only fills horizontally. Before the JUSTIFY values of the alignments used to do the trick, now that it's changed, what can I do to accomplish what I need? Below is a simple test case.


<BoxPane styles="{fill:true}" orientation="vertical"
   xmlns:wtkx="http://pivot.apache.org/wtkx";
xmlns:content="org.apache.pivot.wtk.content" xmlns:collections="org.apache.pivot.collections"
   xmlns:effects="org.apache.pivot.wtk.effects"
   xmlns="org.apache.pivot.wtk">
   <Border>
       <content></content>
   </Border>          </BoxPane>

Thanks in advance,
Edgar Merino


Reply via email to