vgroup {
    margin 3
    inherit margin
    halign left
    valign top
    hgroup {
        vgroup {
            valign top
            hgroup {
                group {
                    rows 2 columns 3
                    margin 1
                    pushbutton { string "Load..." halign fill }
                    pushbutton { string "Restart" halign fill }
                    pushbutton { string "Save As..." halign fill }
                    pushbutton { string "Reload" halign fill }
                    pushbutton { string "Reset" fontweight bold halign fill }
                    pushbutton { string "Save" halign fill }
                }
                text {
                    string "BUSY" teststring "BUSYBUSY" fontweight bold
                    halign center haligncontent center valign top
                }
            }
            radiogroup {
                string "Select Tool" fontweight bold fontsize 14
                rows 3 columns 2
                radiobutton { string "Mesh Editor" fontweight bold }
                radiobutton { string "Factors" fontweight bold }
                radiobutton { string "Simulation" fontweight bold }
                radiobutton { string "Cells" fontweight bold }
                radiobutton { string "Growth Tensors" fontweight bold }
                group { }
            }
            group {
                margin 0
                singlechild yes
                selectedchild 1
                innerhalign left
                innervalign top
                include "mesheditorlayout.txt"
                include "factorspanellayout.txt"
                include "simulationlayout.txt"
                include "clonespanellayout.txt"
              # include "growthtensorslayout.txt"
            }
            panel {
                outermargin 1
                innermargin 2
                string "Interaction function" fontweight bold
                hgroup {
                    equalwidth true
                    pushbutton { string Edit }
                    pushbutton { string Call }
                    pushbutton { string Rewrite }
                    pushbutton { string Notes }
                    text { string DISABLED }
                }
                text { string "" halign fill }
            }
            panel {
                margin 0
                string Run fontweight bold
                rows 2 columns 5
                pushbutton { string "Run for" halign fill }
                pushbutton { string "Run until" halign fill }
                edit { string 10 halign fill }
                edit { string 0 halign fill }
                text { string steps }
                text { string time }
                pushbutton { string Step halign fill }
                pushbutton { string "Run to" halign fill }
                pushbutton { string Stop fontweight bold halign right }
                hgroup {
                    edit { string 1 }
                    text { string area halign left }
                }
            }
        }
        vgroup {
            valign top
            # pulldown menus
            checkbox { string "Plot morphogen" value 1 }
            popupmenu { string "KAPAR|KAPER" teststring "POLARISERXX" }
            checkbox { string "Plot tensor" value 0 }
            popupmenu { string "Actual growth|Spec. growth" }
            checkbox { string "Tensor axes" value 0 }
            popupmenu { string "Total|Areal|Major|Minor|Parallel|Perpendicular|Normal" teststring "POLARISERXX" }
            include "plotoptionslayout.txt"
            # record, snapshot, show history
        }
    }
}
