Expand my Community achievements bar.

Check boxes and text

Avatar

Level 1

I have created a fill form with check boxes for approval.  I have four different types of approval and you check one.  One of the choices has two lines of text.  The check box is not lining up with the first line of text.  It does not look consistent with the other check boxes which only have one line of text.  I would like the check box to line up with the first line of text.

2 Replies

Avatar

Level 10

Hi,

you can change the position of the check mark in the XML source.

The <field> element of your check box contains a <para> element with a vAlign attribute.

This attribute controls the alignment of the checkmark.

Change it into <para vAlign="top"/>.

<field name="CheckBox" y="28.575mm" x="104.775mm" w="43.205mm" h="12.7mm">

            <ui>

               <checkButton>

                  <border>

                     <edge stroke="lowered"/>

                     <fill/>

                  </border>

               </checkButton>

            </ui>

            <font typeface="Arial"/>

            <margin leftInset="1mm" rightInset="1mm"/>

            <!-- Change the vAlign into "top" to display check mark at the top of the field -->

            <para vAlign="middle"/>

            <value>

               <integer>0</integer>

            </value>

            <caption placement="right" reserve="28.132mm">

               <para vAlign="middle"/>

               <value>

                  <text>Line1&#x2029;Line2</text>

               </value>

            </caption>

            <items>

               <integer>1</integer>

               <integer>0</integer>

               <integer>2</integer>

            </items>

         </field>

Hope this helps.

Avatar

Level 1

Awesome! That did the job. Thank you so much!

Alisa Richey, Legal Secretary

Texas Commission on Environmental Quality

Contracts, Employment Law and Ethics Section

Phone: 512-239-0628

Alisa.Richey@tceq.texas.gov