panel {
    string "Growth Factor"
    fontweight bold
    fontsize 14
    valign top
    vgroup {
        vgroup {
            halign center
            hgroup {
                equalwidths yes
                pushbutton { string "New" halign fill }
                pushbutton { string "Delete" halign fill }
                pushbutton { string "Rename" halign fill }
            }
            hgroup {
                equalwidths yes
                pushbutton { string "Set zero" halign fill }
                pushbutton { string "Invert" halign fill }
            }
        }
        hgroup {
            equalwidths yes
            pushbutton { string "Add constant" halign fill }
            pushbutton { string "Add random" halign fill }
            pushbutton { string "Add to rim" halign fill }
        }
        hgroup {
            text { string "Amount" }
            slider { }
            edit {
                string "1"
                multiline no
            }
        }
        hgroup {
            halign center
            pushbutton { string "Add radial" }
            text { string "x" teststring x }
            edit { string "0" }
            text { string "y" teststring y }
            edit { string "0" }
            text { string "z" teststring z }
            edit { string "0" }
        }
        hgroup {
            halign center
            pushbutton { string "Add linear" }
            text { string "Direction" }
            edit { string "0" }
            text { string "deg." }
        }
        hgroup {
            halign center
            text { string "Mouse action" }
            popupmenu { string "----|Add|Set|Fix" teststring "mmmmm" }
        }
        hgroup {
            text { string "Diffusion" }
            edit { string "0" }
            text { string "Decay" }
            edit { string "0" }
            checkbox { string "Dilution" }
        }
        hgroup {
            radiogroup {
                innerhalign center
                string "On split"
                innermargin 2
                radiobutton { string "Average" value 1 }
                radiobutton { string "Min" }
                radiobutton { string "Max" }
            }
            panel {
                string "Mutation"
                innervalign center
                vgroup {
                    slider { }
                    hgroup {
                       # valign center
                        edit { string "1" halign fill }
                        pushbutton { string "Revert" halign right }
                    }
                }
            }
        }
        panel {
            string "All factors"
            fontweight bold
            innerhalign center
            hgroup {
                pushbutton { string "Set all zero" fontweight bold }
                checkbox { string "Use wild type" }
            }
        }
    }
}
