<Window title="Forms" maximized="true"
    xmlns:wtkx="http://pivot.apache.org/wtkx"
    xmlns="org.apache.pivot.wtk">
    <content>
        <Border>
            <content>
                <TablePane styles="{font: 'Verdana bold 14'}">
                    <columns>
                        <TablePane.Column width="1*"/>
                    </columns>
                    <rows>
                        <TablePane.Row height="1*">
                            <Form styles="{rightAlignLabels:true}">
                                <sections>
                                    <Form.Section>
                                        <BoxPane wtkx:id="nameBoxPane" Form.label="Name">
                                            <TextInput styles="{font:'Verdana bold 14'}" wtkx:id="lastNameTextInput" prompt="Last"/>
                                            <TextInput wtkx:id="firstNameTextInput" prompt="First"/>
                                            <PushButton wtkx:id="pushButton" buttonData="Click Me Ernad Husremović!"/>
                                        </BoxPane>
                                    </Form.Section>
                                    <Form.Section heading="Addresses">
                                        <BoxPane Form.label="Home" orientation="vertical">
                                            <TextInput prompt="Street" textSize="24"/>
                                            <BoxPane>
                                                <TextInput prompt="City"/>
                                                <TextInput prompt="State" textSize="6"/>
                                                <TextInput prompt="Zip" textSize="10"/>
                                            </BoxPane>
                                        </BoxPane>
                                        <BoxPane Form.label="Work" orientation="vertical">
                                            <TextInput prompt="Street" textSize="24"/>
                                            <BoxPane>
                                                <TextInput prompt="City"/>
                                                <TextInput prompt="State" textSize="6"/>
                                                <TextInput prompt="Zip" textSize="10"/>
                                            </BoxPane>
                                        </BoxPane>
                                    </Form.Section>
                                    <Form.Section heading="Phone Numbers">
                                        <TextInput Form.label="Home"/>
                                        <TextInput Form.label="Work"/>
                                    </Form.Section>
                                    <Form.Section heading="Email Addresses">
                                        <TextInput Form.label="Home"/>
                                        <TextInput Form.label="Work"/>
                                    </Form.Section>
                                </sections>
                            </Form>
                        </TablePane.Row>
                        <TablePane.Row height="-1">
                            <Separator/>
                        </TablePane.Row>
                        <TablePane.Row height="-1">
                            <TablePane>
                                <columns>
                                    <TablePane.Column width="1*"/>
                                    <TablePane.Column width="-1"/>
                                </columns>
                                <rows>
                                    <TablePane.Row>
                                        <BoxPane styles="{verticalAlignment:'center'}">
                                            <Label wtkx:id="errorLabel" styles="{color:'#ff0000'}"/>
                                        </BoxPane>
                                        <BoxPane styles="{horizontalAlignment:'right', verticalAlignment:'center'}">
                                            <PushButton wtkx:id="submitButton" buttonData="Submit"
                                                styles="{minimumAspectRatio:3}"/>
                                        </BoxPane>
                                    </TablePane.Row>
                                </rows>
                            </TablePane>
                        </TablePane.Row>
                    </rows>
                </TablePane>
            </content>
        </Border>
    </content>
</Window>


