Accepted Solutions (1)

Accepted Solutions (1)

radzmar

MVP

18-06-2015

You can center the button and the caption when you add additional <para> elements to the XML source.

This is source code for such radio button.


<field y="0mm" x="0mm" w="22mm" h="12mm" name="RadioButton">


              <ui>


                  <checkButton shape="round">


                    <border>


                        <edge stroke="lowered"/>


                        <fill/>


                    </border>


                  </checkButton>


              </ui>


              <para vAlign="middle" hAlign="center"/>


              <font typeface="Arial"/>


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


              <caption placement="bottom" reserve="0.236222in">


                  <para vAlign="middle" hAlign="center"/>


                  <value>


                    <text>Option XY</text>


                  </value>


              </caption>


              <items>


                  <integer>1</integer>


              </items>


            </field>