dc.SimpleLayout
The
<dc.SimpleLayout>
is the counter to
dc.FullLayout
in that it assumes nothing about the number of children and provides no centering or other effect for them. Its only value is to provide a layout level padding to keep the contents in line with layouts above or below it in the
dc.Band
.
Attributes
- Pad: how much padding to use inside the layout. Values are: None, Small, Medium, Large, Extra - or custom padding defined by your template.
Usage Notes
Some media widgets will provide a centering effect regardless of the Simple vs Full part.
Examples
<dc.SimpleLayout Pad="Medium">
<dcm.ImageWidget Path="/examples/simple/board/carrie" />
</dc.SimpleLayout>
Output:
See Also
-
TODO reference to layout systems