// _Misc2.txt - Various design text
// Another approach is separate layout and control config

Layout hasLines:
    useStyle("Separated")
    // Central fields
    setColumnRow(1, 1)
    add(new Panel())
    beginNestedContainer()
        useStyle("Default")
        setInsets(6, 4, 6, 4)
        // Row 1
        addEndRow(new Label("Please enter the following:"))
        // Row 2
        setAlignment("Right")
        addRow(new Label("First Name"))
        //
        setAlignment("Left")
        addEndRow(new TextField(15))
        addControl("Bound", "Customer.Age")
        beginConfigControl() // Called on control
            setRange(20, 30)
            setRequired(true)
            endConfigControl()
        // Etc
        endNestedContainer()
    // Right vertical button column
    setColumnRow(2, 1)
    add(new Panel())
    beginNestedContainer()
        useStyle("Separated")
        setStretch("Width")
        addEndRow(new Button("Commit"))
        addEndRow(new Button("Forward"))
        addEndRow(new Panel())
        beginNestedContainer()
            add(new Button("A"))
            add(new Button("B"))
            add(new Button("C"))
            endNestedContainer()
        addEndRow(new Button("Snarf"))
        addEndRow(new Button("Go To Lunch"))
        addEndRow(new Button("Cancel"))
        addEndRow(new Label(""))
        setExtraSizeHeight(10)
        addEndRow(new Button("Close"))
        endNestedContainer()
    // Bottom status bar
    useStyle("BottomBar")
    setColumnRow(1, 3)
    addEndRow(??? createStatusBar())
    End: Laout
