Tag Definition: boxStyle
Generated by rlextra version 3.6.13
Attributes
Name |
Required? |
Default_Value |
Values |
alias |
implied |
None |
|
alignment |
implied |
None |
|
borderSpec |
implied |
None |
|
boxFillColor |
implied |
None |
|
boxStrokeColor |
implied |
None |
|
cellHeight |
implied |
None |
|
cellWidth |
implied |
None |
|
fontName |
implied |
None |
|
fontSize |
implied |
None |
|
labelAlignment |
implied |
None |
|
labelFontName |
implied |
None |
|
labelFontSize |
implied |
None |
|
labelTextColor |
implied |
None |
|
name |
required |
None |
|
parent |
implied |
None |
|
textColor |
implied |
None |
|
Can contain |
Purpose
This lets you set a style that can be used for for letterboxes, checkboxes and textboxes. Useful for styling in forms.
Example usage
<stylesheet>
<boxStyle name="special" labelTextColor="green" textColor="green" boxFillColor="paleturquoise"/>
</stylesheet>
<story>
<illustration width="8cm" height="5cm">
<letterBoxes style="special" x="1cm" y="1.5cm" count="20" label="I should be green">Uses style "special"</letterBoxes>
<checkBox style="special" x="1cm" y="-2cm"/>
<textBox style="special" x="1cm" y="-4cm" boxWidth="15cm" boxHeight="1cm"/>
</illustration>
</story>
Note: Only relevant sections are used in this snippet. Some tags were not included. See some of our samples for further insight of how you may go about setting up a full document using rml.
Example of nesting path from the parent tags to the current tag
<document> ➔ <stylesheet> ➔ <boxStyle>