dc.GalleryLayout
The
<dc.GalleryLayout>
tag assumes two or more children that are all equally sized. Unlike
dc.RowLayout
which uses
dc.Column
children, the GalleryWidget assumes that each regular child is the column.
Attributes
-
Size: size of each of the child elements. There are built-in options that use a percentage of the total layout width. A column Size can be set to predefined sizes such as 1/2 which is given as “1-2” or 1/3 which is entered as “1-3”, etc. See a list of the supported and custom sizes.
-
Collapse: at what point to break into single column mode. Values are: None, Small, Medium - or custom collapse defined by your template. See how collapse works.
Examples
<dc.GalleryLayout Size="1-4" id="participate-how-info">
<dc.TextWidget id="how-apply">
<Tr Locale="eng">
### Apply
To get started, first create a user account. Then choose the type of application
you want to fill out (Master Dairy Grazier or Apprentice) and follow the steps
to creating your online profile.
</Tr>
</dc.TextWidget>
<dc.TextWidget id="how-match">
<Tr Locale="eng">
### Match
Apprentices choose their preferred areas of placement by zip code. Approved
Master Dairy Graziers search the online database to find an Apprentice who will
be a good match for their operation.
</Tr>
</dc.TextWidget>
<dc.TextWidget id="how-train">
<Tr Locale="eng">
### Train
Apprentices learn from those who know dairy farming best. Master Dairy Graziers
prepare employees for management, partnerships, and eventual ownership. Both
receive comprehensive support.
</Tr>
</dc.TextWidget>
<dc.TextWidget id="how-achive">
<Tr Locale="eng">
### Achieve
Whether you are an aspiring dairy grazier seeking to manage or own a farm or an
established grazier looking for retirement and investement options, DGA can help
you reach your goals.
</Tr>
</dc.TextWidget>
</dc.GalleryLayout>
Output:
Apply
To get started, first create a user account. Then choose the type of application you want to fill out (Master Dairy Grazier or Apprentice) and follow the steps to creating your online profile.
Match
Apprentices choose their preferred areas of placement by zip code. Approved Master Dairy Graziers search the online database to find an Apprentice who will be a good match for their operation.
Train
Apprentices learn from those who know dairy farming best. Master Dairy Graziers prepare employees for management, partnerships, and eventual ownership. Both receive comprehensive support.
Achieve
Whether you are an aspiring dairy grazier seeking to manage or own a farm or an established grazier looking for retirement and investement options, DGA can help you reach your goals.
See Also
-
TODO reference to layout systems