pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edgar Merino <donvo...@gmail.com>
Subject Fill window
Date Sat, 04 Jun 2011 06:16:25 GMT
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

Mime
View raw message