/*************************************************************************
*
* 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 PIViewFormTextArea
{
    view subview(grow: false,
                 height: 100,
                 identifier: "IDD_PROP_INSPECT_FORM_TEXTAREA",
                 resizeChildren: false,
                 shouldConstrain: true,
                 spacing: 5,
                 width: 1110)
    {
        row(indent: 49,
            spacing: 5)
        {
            column(indent: 15,
                   spacing: 6)
            {
                static_text(characters: 4,
                            identifier: "IDC_STATIC_TYPE",
                            name: "$$$/PropInspectFormTextfield/Label/Textarea=Text Area");
            }

            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: 11,
                          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: 6)
                {
                    static_text(characters: 0,
                                horizontal: @align_right,
                                identifier: "IDC_STATIC_ROWS",
                                name: "$$$/PropInspectFormTextarea/Label/Rows=&Rows");
                }

                static_text(horizontal: @align_right,
                            identifier: "IDC_STATIC_COLS",
                            name: "$$$/PropInspectFormTextarea/Label/Cols=C&ols");
            }

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

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

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

            column(indent: 1,
                   spacing: 11)
            {
                row(indent: 6)
                {
                    static_text(horizontal: @align_right,
                                identifier: "IDC_STATIC_SIZE_LABEL",
                                name: "$$$/PropInspectFormTextarea/Label/MaxLength=&Max Length");
                }

                static_text(horizontal: @align_right,
                            identifier: "IDC_STATIC_WRAP",
                            name: "$$$/PropInspectFormTextarea/Label/Wrap=&Wrap");
            }

            column(spacing: 5)
            {
                row(spacing: 0)
                {
                    column(spacing: 1)
                    {
                        edit_text(characters: 11,
                                  identifier: "IDC_EDIT_MAX_LENGTH",
                                  tab_next_node: "IDC_COMBO_WRAP");

                        combobox(identifier: "IDC_COMBO_WRAP",
				popup_minimum_width_chars: 5,
                                 include_custom_item: false,
                                 items: [ { name: "$$$/PropInspectFormTextarea/Wrap/item2/Soft=Soft",
                                            value: " " },
                                          { name: "$$$/PropInspectFormTextarea/Wrap/item3/Hard=Hard",
                                            value: " " } ],
                                 vertical_scroll: true);
                    }
                }
            }

            column()
            {
                row(indent: 6)
                {
                    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(indent: -4,
                   spacing: 2)
            {
                edit_text(characters: 14,
                          identifier: "IDC_EDIT_MULTILINE_VALUE",
                          lines: 3,
                          multiLine: true,
                          scrollable: true,
                          vertical_scroll: true);
            }

            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()
            {
                row(indent: 6)
                {
                    separator(minLength: 43,
                              orientation: @vertical);
                }
            }

            column(indent: 5)
            {
                row(indent: 6)
                {
                    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: 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");
            }
        }
    }
}
