Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    sectionItem alignment

    I'm trying to set alignment for sectionItem but no matter what I set it to, it doesn't seem to be re-aligning the items being displayed under it.

    Code:
    <DynamicForm width="500">
        <fields>
            <field defaultValue="Item" type="section" sectionExpanded="true"  align="right">
                <itemIds>
                    <itemId>itemName</itemId>
                    <itemId>description</itemId>
                    <itemId>price</itemId>
                </itemIds>
            </field>
            <field name="itemName" type="text" title="Item"/>
            <field name="description" type="textArea" title="Description"/>
           <field name="price" type="float" title="Price" defaultValue="low"/>   
        </fields>
    </DynamicForm>

    #2
    Alignment of form items is independent. If you would like to align this entire form, consider setting properties such as layoutAlign on the form as a whole, to align it with respect to a Layout (if it's within a layout).

    Comment


      #3
      ok. I just made it so that the form items under the section item take the section item's alignment if they dont have their own.

      Comment

      Working...
      X