pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Scott Lanham <li...@sael.com.au>
Subject TableView Column Relative Widths
Date Wed, 26 Aug 2009 23:21:23 GMT
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