/*************************************************************************
*
* ADOBE CONFIDENTIAL
* ___________________
*
*  Copyright 2011 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 PIViewFormTextField
{
    view subview(grow: false,
                 height: 100,
                 identifier: "IDD_PROP_INSPECT_FORM_TEXTFIELD",
                 resizeChildren: false,
                 shouldConstrain: true,
                 spacing: 5,
                 width: 700)
    {
        row(indent: 49,
            spacing: 5)
        {
            column(indent: 15,
                   spacing: 6)
            {
                static_text(characters: 4,
                            identifier: "IDC_STATIC_TYPE",
                            name: "$$$/PropInspectFormTextfield/Label/Textfield=TextField");
            }

            separator(orientation: @vertical);

            column(indent: 1,
                   spacing: 9)
            {
                row(indent: 6)
                {
                    static_text(horizontal: @align_right,
                                identifier: "IDC_STATIC_NAME",
                                name: "$$$/PropInspectFormTextfield/Label/Name=&Name");
                }
            }

            column(spacing: 2)
            {
                edit_text(characters: 12,
                          identifier: "IDC_EDIT_NAME");
            }

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

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

            column(indent: 1,
                   spacing: 11)
            {
                row(indent: 46)
                {
                    static_text(horizontal: @align_right,
                                identifier: "IDC_STATIC_WIDTH",
                                name: "$$$/PropInspectFormTextfield/Label/CharWidth=&Size");
                }

                row(indent: 6)
                {
                    static_text(horizontal: @align_right,
                                identifier: "IDC_STATIC_SIZE_LABEL",
                                name: "$$$/PropInspectFormTextfield/Label/MaxChars=&Max Length");
                }
            }

            column(spacing: 5)
            {
                row(spacing: 0)
                {
                    column(spacing: 1)
                    {
                        edit_text(characters: 4,
                                  identifier: "IDC_EDIT_WIDTH",
                                  tab_next_node: "IDC_EDIT_LENGTH_OR_LINES");

                        edit_text(characters: 4,
                                  identifier: "IDC_EDIT_LENGTH_OR_LINES");
                    }
                }
            }

            column()
            {
                row(indent: 7)
                {
                    separator(minLength: 43,
                              orientation: @vertical);
                }
            }

            column(indent: 1,
                   spacing: 9)
            {
                row(indent: 6)
                {
                    static_text(horizontal: @align_right,
                                identifier: "IDC_STATIC_VALUE",
                                name: "$$$/PropInspectFormTextfield/Label/InitVal=&Value");
                }
            }

            column(spacing: 2)
            {
                row(spacing: 2)
                {
                    edit_text(characters: 12,
                              identifier: "IDC_EDIT_VALUE");
                }
            }
			ownerdrawn_button(identifier: "IDC_BUTTON_DYNAMIC",
                name: "$$$/PropInspectFormTextfield/IconButton/AddDynamic=Add dynamic item",width:21,height:18,indent:1);
				
            column()
            {
                row(indent: 6)
                {
                    separator(minLength: 43,
                              orientation: @vertical);
                }
            }

            column(indent: 1,
                   spacing: 11)
            {
                row(indent: 49)
                {
                    static_text(horizontal: @align_right,
                                identifier: "IDC_STATIC_TITLE",
                                name: "$$$/PropInspectFormTextfield/Label/Title=&Title");
                }

                row(indent: 6)
                {
                    static_text(horizontal: @align_right,
                                identifier: "IDC_STATIC_PLACEHOLDER",
                                name: "$$$/PropInspectFormTextfield/Label/PlaceHolder=&Place Holder");
                }
            }

            column(spacing: 5)
            {
                row(spacing: 0)
                {
                    column(spacing: 1)
                    {
                        edit_text(characters: 12,
                                  identifier: "IDC_EDIT_TITLE");

                        edit_text(characters: 12,
                                  identifier: "IDC_EDIT_PLACEHOLDER");
                    }
                }
            }
        }

        row(indent: 116,
            spacing: 5)
        {
            column(indent: 3,
                   spacing: 9)
            {
                row(child_horizontal: @align_center,
                    indent: 5)
                {
                    column(indent: 2,
                           spacing: 7)
                    {
                        checkbox(identifier: "IDC_CHECK_DISABLED",
                                 name: "$$$/PropInspectFormTextfield/CheckBox/Disabled=&Disabled");

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

            column(indent: 3,
                   spacing: 9)
            {
                row(child_horizontal: @align_center,
                    indent: 6)
                {
                    column(indent: 2,
                           spacing: 7)
                    {
                        checkbox(identifier: "IDC_CHECK_REQUIRED",
                                 name: "$$$/PropInspectFormTextfield/CheckBox/Required=Re&quired");

                        checkbox(identifier: "IDC_CHECK_READONLY",
                                 name: "$$$/PropInspectFormTextfield/CheckBox/Readonly=&Read Only");
                    }
                }
            }

            column(indent: 3,
                   spacing: 9)
            {
                row(child_horizontal: @align_center,
                    indent: 7)
                {
                    column(indent: 2,
                           spacing: 7)
                    {
                        checkbox(identifier: "IDC_CHECK_AUTOCOMPLETE",
                                 name: "$$$/PropInspectFormTextfield/CheckBox/AutoComplete=A&uto Complete");

                        checkbox(identifier: "IDC_CHECK_MULTIPLE",
                                 name: "$$$/PropInspectFormTextfield/CheckBox/Multiple=M&ultiple");
                    }
                }
            }

            column()
            {
                row(indent: 7)
                {
                    separator(minLength: 43,
                              orientation: @vertical);
                }
            }

            column(indent: 5)
            {
                row(indent: 5)
                {
                    static_text(horizontal: @align_right,
                                identifier: "IDC_STATIC_FORM_LABEL",
                                name: "$$$/PropInspectFormTextfield/Label/Form=&Form");
                }
            }

            column(indent: 3)
            {
                combobox(horizontal: @align_fill,
                         identifier: "IDC_COMBO_FORM_ID",
                         vertical_scroll: true);
            }

            column()
            {
                row(indent: 5)
                {
                    separator(minLength: 43,
                              orientation: @vertical);
                }
            }

            column(indent: 5)
            {
                row(indent: 6)
                {
                    static_text(horizontal: @align_right,
                                identifier: "IDC_STATIC_PATTERN",
                                name: "$$$/PropInspectFormTextfield/Label/Pattern=Patt&ern");
                }
            }

            column(indent: 3)
            {
                edit_text(characters: 12,
                          horizontal: @align_center,
                          identifier: "IDC_EDIT_PATTERN");
            }

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

            column(indent: 5)
            {
                row(indent: 6)
                {
                    static_text(horizontal: @align_right,
                                identifier: "IDC_STATIC_TABINDEX",
                                name: "$$$/PropInspectFormTextfield/Label/TabIndex=Ta&b Index");
                }
            }

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

            column()
            {
                row(indent: 6)
                {
                    separator(identifier: "IDC_STATIC_LINE",
                              minLength: 43,
                              orientation: @vertical);
                }
            }

            column(indent: 5)
            {
                row(indent: 6)
                {
                    static_text(horizontal: @align_right,
                                identifier: "IDC_STATIC_LIST",
                                name: "$$$/PropInspectFormTextfield/Label/List=&List");
                }
            }

            column(indent: 3)
            {
                combobox(horizontal: @align_fill,
                         identifier: "IDC_COMBO_LIST",
                         vertical_scroll: true);
            }
        }
    }
}
