<?xml version="1.0" encoding="UTF-8"?>

<Window title="Testing" maximized="true"
        xmlns:wtkx="http://pivot.apache.org/wtkx"
        xmlns:content="org.apache.pivot.wtk.content"
        xmlns="org.apache.pivot.wtk"
        xmlns:testing="testing">
    <content>
        <TablePane>
            <columns>
                <TablePane.Column width="1*"/>
                <TablePane.Column width="-1"/>
            </columns>
            <rows>
                <TablePane.Row>
                    <testing:TestTableView wtkx:id="view">
                        <tableData>[{col1:"val1", col2:"val2"},{col1:"val3", col2:"val4"}]</tableData>
                        <columns>
                            <TableView.Column name="col1" width="500"/>
                            <TableView.Column name="col2" minimumWidth="50" width="1*"/>
                        </columns>
                    </testing:TestTableView>
                </TablePane.Row>
                <TablePane.Row>
                    <BoxPane orientation="horizontal">
                        <PushButton wtkx:id="btnNewRow" buttonData="New Row"/>
                        <PushButton wtkx:id="btnDelRow" buttonData="Delete Row"/>
                        <PushButton wtkx:id="btnMaxWidthTest" buttonData="Max Width Test"/>
                    </BoxPane>
                </TablePane.Row>
            </rows>
        </TablePane>
    </content>
</Window>
