/*************************************************************************
*
* 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 PIViewForm
{
    view subview(grow: false,
                 height: 100,
                 identifier: "IDD_PROP_INSPECT_FORM",
                 margin: 2,
                 resizeChildren: false,
                 shouldConstrain: true,
                 spacing: 5,
                 width: 700)
    {
        column(spacing: 3)
        {
            row(spacing: 3)
            {
                column(child_vertical: @align_top,
                       indent: 20,
                       spacing: 0)
                {
                    static_text(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_ID",
                                indent: 10,
                                name: "$$$/PropInspectForm/Label/FormId=ID");
                }

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

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

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

                column(child_vertical: @align_top,
                       indent: 5,
                       spacing: 6)
                {
                    static_text(identifier: "IDC_STATIC_ACTION",
                                indent: 10,
                                name: "$$$/PropInspectForm/Label/Action=Action");

                    static_text(horizontal: @align_right,
                                identifier: "IDC_STATIC_METHOD",
                                name: "$$$/PropInspectForm/Label/Method=Method");
                }

                column(child_vertical: @align_top,
                       indent: 2,
                       spacing: 1)
                {
                    edit_text(characters: 15,
                              identifier: "IDC_EDIT_ACTION");

                    combobox(horizontal: @align_fill,
                             identifier: "IDC_COMBO_METHOD",
                             vertical_scroll: true);
                }

                column(child_vertical: @align_top,
                       indent: 5,
                       spacing: 0)
                {
                    ownerdrawn_button(height: 16,
                                      identifier: "IDC_BUTTON_BROWSE_ACTION",
                                      indent: 2,
                                      name: "$$$/PropInspectForm/IconButton/BrowseFor=Browse for file",
                                      width: 21);
                }

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

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

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

            row(child_horizontal: @align_left,
                horizontal: @align_right,
                spacing: 0)
            {
                column(child_vertical: @align_top,
                       indent: 4,
                       spacing: 5)
                {
                    checkbox(identifier: "IDC_CHECK_NOVALIDATE",
                             indent: 113,
                             name: "$$$/PropInspectForm/Label/NoValidate=No Validate");

                    checkbox(identifier: "IDC_CHECK_AUTOCOMPLETE",
                             indent: 5,
                             name: "$$$/PropInspectFormTextfield/CheckBox/AutoComplete=Auto Complete");
                }

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

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

                column(child_vertical: @align_top,
                       indent: 4,
                       spacing: 0)
                {
                    combobox(identifier: "IDC_COMBO_ENCTYPE",
                             items: [ { name: "$$$/PropInspectForm/Enctype/item1/Applicationxwwwformurlencoded",
                                        value: " " },
                                      { name: "$$$/PropInspectForm/Enctype/item2/Multipartformdata",
                                        value: " " } ],
                             vertical_scroll: true);
                }

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

                column(child_vertical: @align_top,
                       indent: 5,
                       spacing: 0)
                {
                    static_text(identifier: "IDC_STATIC_TARGET",
                                indent: 10,
                                name: "$$$/PropInspectForm/Label/Target=&Target");
                }

                column(child_vertical: @align_top,
                       indent: 4,
                       spacing: 0)
                {
                    combobox(identifier: "IDC_COMBO_TARGETNAME",
                             popup_minimum_width_chars: 5,
                             vertical_scroll: true);
                }

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

                column(child_vertical: @align_top,
                       indent: 5,
                       spacing: 0)
                {
                    static_text(identifier: "IDC_STATIC_ACCEPTCHARSET",
                                indent: 10,
                                name: "$$$/PropInspectForm/Label/AcceptCharset=Accept Charset");
                }

                column(child_vertical: @align_top,
                       indent: 4,
                       spacing: 0)
                {
                    combobox(identifier: "IDC_COMBO_ACCEPTCHARSET",
                             items: [ { name: "$$$/PropInspectForm/AcceptCharset/item1/UTF=UTF-8",
                                        value: " " },
                                      { name: "$$$/PropInspectForm/AcceptCharset/item1/ISO=ISO-5589-1",
                                        value: " " } ],
                             vertical_scroll: true);
                }
            }
        }
    }
}
