pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kamil Toszek <kamil.tos...@gmail.com>
Subject Re: Getting listview to fill the space.
Date Tue, 09 Nov 2010 22:37:53 GMT
Hi,
I think using TablePane instead of BoxPane will solve your problem.



2010/11/9 dhaval vyas <dhruva023@gmail.com>

>
> Hello, I am trying to make the listview to fill all the available space.  I
> can make it to fill all the available horizontal space, but it doesn't fill
> the vertical space. can someone guide me it right direction.
>
> CODE:
>
>
> <BoxPane
>     xmlns:wtkx="http://pivot.apache.org/wtkx" xmlns="org.apache.pivot.wtk"
>     orientation="vertical" preferredWidth="10" styles="{fill:true}">
>     <Label text="Issues" />
>     <Separator />
>     <ScrollPane  minimumPreferredWidth="80" minimumPreferredHeight="10"
>         horizontalScrollBarPolicy="fill_to_capacity"
> verticalScrollBarPolicy="fill_to_capacity">
>         <view>
>             <ListView wtkx:id="issueListView" selectMode="single"
>                 listData="['One', 'Two', 'really really long three XXXXXXX
> Three ', 'Four', 'Five',
>                                             'Six', 'Seven', 'Eight',
> 'Nine', 'Ten']" />
>         </view>
>     </ScrollPane>
>
> </BoxPane>
>
>
> Thanks,
> --
> Dhaval Vyas
>
>

Mime
View raw message