Expand my Community achievements bar.

SOLVED

How to Set Caption and Value Margins (indents) for Dropdown List?

Avatar

Level 4

I have searched the archives, but can't find a specific answer.  Would somebody please show me how to set the indent for captions and values under Paragraph palette of a dropdown list?  Thank you.

1 Accepted Solution

Avatar

Correct answer by
Level 8

For some reason they got rid of the ability to edit indents for drop-downs since version 8 of Designer. NO idea why.

So, here's what you do:

1)Click on your drop-down

2)Go to View>XML Source

3) Under the field element insert <para marginLeft=".05in"> or whatever length/unit you require. That's for the value.

4) For the caption, do the same under the caption element.

If the element para already exists (which it should), just add the attribute marginleft="1in".

Here's an example:

         <field name="DropDownList1" y="19.05mm" x="44.45mm" w="62mm" h="9mm">

            <para marginLeft=".05in"/> <!--value of the field-->

            <ui>

               <choiceList>

                  <border>

                     <?templateDesigner StyleID aped3?>

                     <edge stroke="lowered"/>

                  </border>

                  <margin/>

               </choiceList>

            </ui>

            <font typeface="Myriad Pro"/>

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

            <para vAlign="middle"/>

            <caption reserve="25mm">

               <para vAlign="middle" marginLeft=".05in"/> <!--caption of the field-->

               <value>

                  <text>Drop-down List</text>

               </value>

            </caption>

            <value>

               <text>test</text>

            </value>

            <items save="1">

               <text>test</text>

            </items>

         </field>

Kyle

View solution in original post

1 Reply

Avatar

Correct answer by
Level 8

For some reason they got rid of the ability to edit indents for drop-downs since version 8 of Designer. NO idea why.

So, here's what you do:

1)Click on your drop-down

2)Go to View>XML Source

3) Under the field element insert <para marginLeft=".05in"> or whatever length/unit you require. That's for the value.

4) For the caption, do the same under the caption element.

If the element para already exists (which it should), just add the attribute marginleft="1in".

Here's an example:

         <field name="DropDownList1" y="19.05mm" x="44.45mm" w="62mm" h="9mm">

            <para marginLeft=".05in"/> <!--value of the field-->

            <ui>

               <choiceList>

                  <border>

                     <?templateDesigner StyleID aped3?>

                     <edge stroke="lowered"/>

                  </border>

                  <margin/>

               </choiceList>

            </ui>

            <font typeface="Myriad Pro"/>

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

            <para vAlign="middle"/>

            <caption reserve="25mm">

               <para vAlign="middle" marginLeft=".05in"/> <!--caption of the field-->

               <value>

                  <text>Drop-down List</text>

               </value>

            </caption>

            <value>

               <text>test</text>

            </value>

            <items save="1">

               <text>test</text>

            </items>

         </field>

Kyle