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

Reply via email to