/*
    Copyright 2005-2007 Adobe Systems Incorporated
    Distributed under the MIT License (see accompanying file LICENSE_1_0_0.txt
    or a copy at http://stlab.adobe.com/licenses.html)
*/

layout aling_reverse
{
    view dialog(name: "Align Reverse", grow: true, child_horizontal: align_fill, child_vertical: align_fill, placement: place_column)
    {
		row(child_horizontal: align_fill, child_vertical: align_fill)
		{
            group()
            {
                static_text(wrap: true, characters: 10, horizontal: align_fill, name:
                    "Test of cross stream guide suppression.");
                edit_number(digits: 8, name: "Short:");
                edit_number(digits: 6, name: "Aligned to 'Short':");
                edit_number(digits: 4, name: "Not Aligned and very long:", guide_mask: [@guide_label]);
                edit_number(digits: 2, name: "Not Aligned:", guide_mask: [@guide_label]);
            }
            group(child_horizontal: align_right)
            {
                static_text(wrap: true, characters: 10, horizontal: align_fill, name:
                    "Test of cross stream guide suppression with right align.");
                edit_number(digits: 8, name: "Short:");
                edit_number(digits: 6, name: "Aligned to 'Short':");
                edit_number(digits: 4, name: "Not Aligned and very long:", guide_mask: [@guide_label]);
                edit_number(digits: 2, name: "Not Aligned:", guide_mask: [@guide_label]);
            }
		}
		row(vertical: align_top)
		{
            group()
            {
                static_text(wrap: true, characters: 10, horizontal: align_fill, name:
                		"This group is aligned left. The guides from this group will align to the guides in the group above"
					"although that group is aligned to fill.");
                edit_number(digits: 8, name: "Also aligned to 'Short':");
                edit_number(digits: 6, name: "As is this.:");
            }
            group(horizontal: align_center)
            {
                static_text(wrap: true, characters: 10, horizontal: align_fill, name:
                    "This group is centered, the guides out of this group are suppressed but will align internally.");
                edit_number(digits: 8, name: "Short:");
                edit_number(digits: 6, name: "Aligned to 'Short':");
                edit_number(digits: 4, name: "Not Aligned and very long:", guide_mask: [@guide_label]);
                edit_number(digits: 2, name: "Not Aligned:", guide_mask: [@guide_label]);
            }
            group(horizontal: align_right)
            {
                static_text(wrap: true, characters: 10, horizontal: align_fill, name:
                		"This group is aligned right. The right aligned guides from this group will align to the guides in the group above"
					"although that group is aligned to fill.");
                edit_number(digits: 12, name: "This is right aligned:", horizontal: align_right);
                edit_number(digits: 6, name: "This is left aligned:");
            }
		}
		
    }
}
