/*************************************************************************
*
* ADOBE CONFIDENTIAL
* ___________________
*
*  Copyright 2013 Adobe Systems Incorporated
*  All Rights Reserved.
*
* NOTICE:  All information contained herein is, and remains
* the property of Adobe Systems Incorporated and its suppliers,
* if any.  The intellectual and technical concepts contained
* herein are proprietary to Adobe Systems Incorporated and its
* suppliers and are protected by trade secret or copyright law.
* Dissemination of this information or reproduction of this material
* is strictly forbidden unless prior written permission is obtained
* from Adobe Systems Incorporated.
**************************************************************************/

layout PIViewFormButton
{
    view subview(grow: false,
                 height: 100,
                 identifier: "IDD_PROP_INSPECT_FORM_BUTTON",
                 margin: 1,
                 placement: @place_row,
                 resizeChildren: false,
                 shouldConstrain: true,
                 spacing: 5,
                 width: 700)
    {
        column(margin: 2,
               spacing: 3)
        {
            row(spacing: 3)
            {
                column(child_vertical: @align_top,
                       indent: 15,
                       spacing: 0)
                {
                    static_text(characters: 4,
                                identifier: "IDC_STATIC_TYPE",
                                indent: 55,
                                name: "$$$/PropInspectFormButton/Label/Name=Name");
                }

            column()
            {
                row(indent: 6)
                {
                    separator(minLength: 44,
                              orientation: @vertical);
                }
            }

                column(child_vertical: @align_top,
                       indent: 5,
                       spacing: 0)
                {
                    static_text(identifier: "IDC_STATIC_NAME",
                                indent: 10,
                                name: "$$$/PropInspectFormButton/Label/Name=Name");
                }

                column(child_vertical: @align_top,
                       spacing: 0)
                {
                    edit_text(characters: 12,
                              horizontal: @align_right,
                              identifier: "IDC_EDIT_NAME",
                              indent: 10,
                              notify_parent: false);
                }

            column()
            {
                row(indent: 1)
                {
                    separator(minLength: 44,
                              orientation: @vertical);
                }
            }

            column()
            {
                row(indent: 124)
                {
                    separator(minLength: 44,
                              orientation: @vertical);
                }
            }

                column(child_vertical: @align_top,
                       indent: 4,
                       spacing: 0)
                {
                    static_text(identifier: "IDC_STATIC_VALUE",
                                indent: 10,
                                name: "$$$/PropInspectFormButton/Label/Value=&Value");
                }

                column(child_vertical: @align_top,
                       spacing: 0)
                {
                    edit_text(characters: 12,
                              identifier: "IDC_EDIT_VALUE");
                }

            column()
            {
                row(indent: 6)
                {
                    separator(minLength: 44,
                              orientation: @vertical);
                }
            }

                column(child_vertical: @align_top,
                       indent: 4,
                       spacing: 0)
                {
                    static_text(identifier: "IDC_STATIC_TITLE",
                                indent: 10,
                                name: "$$$/PropInspectFormTextfield/Label/Title=&Title");
                }

                column(child_vertical: @align_top,
                       spacing: 0)
                {
                    edit_text(characters: 12,
                              identifier: "IDC_EDIT_TITLE");
                }
            }

            row(child_horizontal: @align_left,
                horizontal: @align_right,
                indent: 308,
                margin: 1,
                spacing: 0)
            {
                column(child_vertical: @align_top,
                       indent: 3,
                       spacing: 5)
                {
                    checkbox(identifier: "IDC_CHECK_DISABLED",
                             name: "$$$/PropInspectFormTextfield/CheckBox/Disabled=&Disabled");

                    checkbox(identifier: "IDC_CHECK_AUTOFOCUS",
                             name: "$$$/PropInspectFormTextfield/CheckBox/Autofocus=&Auto Focus");
                }

            column(child_vertical: @align_top,
                       indent: 1)
            {
                row(indent: 6)
                {
                    separator(minLength: 44,
                              orientation: @vertical);
                }
            }

                column(child_vertical: @align_top,
                       indent: 4,
                       spacing: 0)
                {
                    static_text(identifier: "IDC_STATIC_FORM_LABEL",
                                indent: 10,
                                name: "$$$/PropInspectFormButton/Label/Form=&Form");
                }

                column(child_vertical: @align_top,
                       indent: 3,
                       spacing: 0)
                {
                    combobox(identifier: "IDC_COMBO_FORM_ID",
                             sort: true,
                             vertical_scroll: true);
                }

            column(child_vertical: @align_top,
                       indent: 1)
            {
                row(indent: 6)
                {
                    separator(minLength: 44,
                              orientation: @vertical);
                }
            }

                column(indent: 4)
                {
                    static_text(identifier: "IDC_STATIC_TABINDEX",
                                indent: 10,
                                name: "$$$/PropInspectFormTextfield/Label/TabIndex=Ta&b Index");
                }

                column(indent: 3)
                {
                    edit_text(characters: 4,
                              identifier: "IDC_EDIT_TABINDEX");
                }
            }
        }
    }
}
