Hello, I've been trying to get my components to fill the whole window of my application but I haven't been able to, I've got a simple BoxPane with styles="{fill: true}" and this is the content of my window, I'd expect all the components inside the BoxPane should fill the whole available space. The structure is as follows:

<Window maximized="true"
    xmlns="org.apache.pivot.wtk">

<content>
<BoxPane styles="{fill: true"}>
<StackPane>
<ImageView image="@background.png" styles="{fill: true, preserveAspectRatio: false}"/>
</StackPane>
</BoxPane>
</content>

</Window>

What can I do to make the contents of BoxPane fill the entire wndow?


Thanks in advance.
Edgar Merino

Reply via email to