pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Brown <gkbr...@mac.com>
Subject Re: TableView Column Relative Widths
Date Wed, 26 Aug 2009 23:27:33 GMT
Try setting the horizontalScrollBarPolicy attribute of the ScrollPane  
to "fill" or "fill_to_capacity".
G

On Aug 26, 2009, at 7:21 PM, Scott Lanham wrote:

> Hi,
>
> If I set any columns in a TableView to have a width of "1*"  they  
> all appear to get a size of 0. Below is the wtkx, am I doing  
> something wrong?
>
> <Border title="Staff List" minimumPreferredWidth="100">
>    <styles padding="4"/>
>    <content>
>        <ScrollPane>
>            <view>
>                <TableView wtkx:id="staffDetailsList">
>                    <columns>
>                        <TableView.Column name="storeStaffCode"  
> width="1*"
>                                          headerData="Staff Code"/>
>                        <TableView.Column name="storeStaffFirstName"  
> width="1*"
>                                          headerData="First Name"/>
>                        <TableView.Column  
> name="storeStaffMiddleName"  width="1*"
>                                          headerData="Middle Name"/>
>                        <TableView.Column name="storeStaffLastName"   
> width="1*"
>                                          headerData="Last Name"/>
>                    </columns>
>                </TableView>
>            </view>
>            <columnHeader>
>                <TableViewHeader tableView="$staffDetailsList">
>                    <styles headersPressable="false"/>
>                </TableViewHeader>
>            </columnHeader>
>        </ScrollPane>
>    </content>
> </Border>


Mime
View raw message