/*************************************************************************
*
* 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 WebFontsManager
{
    view dialog(height: 500,
                identifier: "ID_WebFontsManager",
                name: "$$$/WebFontsManager/Title/WebFontsManager=Web Fonts Manager",
                width: 500)
    {
        column(child_vertical: @align_center,
               spacing: 5)
        {
            static_text(name: "$$$/WebFontsManager/Title/AvailWebFonts=Available Web Fonts:");

            multicolumn_tree(height: 200,
                 identifier: "ID_WebFontsManager_Fontlist",
                 width: 300);
        }

        column();

        separator(orientation: @vertical);

        column();

        column()
        {
            button(action: @do_ok,
                   default: true,
                   horizontal: @align_fill,
                   identifier: "ID_WebFontsManager_OkButton",
                   name: "$$$/WebFontsManager/Button/Done=Done");

            button(action: @do_addfont,
                   horizontal: @align_fill,
                   identifier: "ID_WebFontsManager_AddFont",
                   name: "$$$/WebFontsManager/Button/AddFont=Add Local Font");

            button(action: @do_freefont,
                   horizontal: @align_fill,
                   identifier: "ID_WebFontsManager_FreeFont",
                   name: "$$$/WebFontsManager/Button/TypekitFreeFont=Add Free Fonts");

            row();

            button(action: @do_editfont,
                   horizontal: @align_fill,
                   identifier: "ID_WebFontsManager_Edit",
                   name: "$$$/WebFontsManager/Button/EditFont=Edit...");

            /* for spacing */
            button(action: @do_deletefont,
                   horizontal: @align_fill,
                   identifier: "ID_WebFontsManager_Delete",
                   name: "$$$/WebFontsManager/Button/DelFont=Delete");

            row();

            button(action: @do_help,
                   horizontal: @align_fill,
                   identifier: "ID_WebFontsManager_Help",
                   name: "$$$/WebFontsManager/Button/Help=Help");
        }
    }
}
