/*
    Copyright 2005-2007 Adobe Systems Incorporated
    Distributed under the MIT License (see accompanying file LICENSE_1_0_0.txt
    or a copy at http://stlab.adobe.com/licenses.html)
*/

layout named_function_suite
{
    view dialog(name: "Named Function Suite")
    {
        row(child_horizontal: align_fill)
        {
            column(child_horizontal: align_fill)
            {
                static_text(name: "This dialog is useful for testing the functionality of the named functions. Hit the OK button to see a result set containing values processed by the built-in functions.", characters: 25);
    
                group(name: "Contributing Test")
                {
                    edit_number(name: "Value:", bind: @contributing_test, digits: 10);
                }
    
                group(name: "Scale Test")
                {
                    edit_number(name: "Celsius:", bind: @celsius, digits: 10);
                    edit_number(name: "Fahrenheit:", bind: @fahrenheit, digits: 10);
                }
            }
            column(child_horizontal: align_fill)
            {
                button(name: "OK", default: true, bind: @result);
                button(name: "Cancel", action: @cancel);
            }
        }
    }
}
