Uploaded image for project: 'Kuali Rice Development'
  1. Kuali Rice Development
  2. KULRICE-8420

Horizontal layout does not work within a collection item

    Details

    • Type: Bug Fix
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2.0-rc1, 2.2
    • Component/s: Development
    • Security Level: Public (Public: Anyone can view)
    • Labels:
      None
    • Rice Module:
      KRAD
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required

      Description

      If you use a horizontal item group (like in stacked layout), or use a box horizontal layout for a separate add line, the fields ends up aligning vertically. Horizontal layout works fine for standard layouts, just not when the layout is within a collection item.

        Attachments

          Issue Links

            Activity

            Hide
            samuel Samuel Holtzkampf (Inactive) added a comment -

            Tested on seperate add line for table layout :
            <property name="layoutManager.addLineGroup.layoutManager">
            <bean parent="Uif-HorizontalBoxLayout"/>
            </property>

            Fields were stacked horizontally.

            Show
            samuel Samuel Holtzkampf (Inactive) added a comment - Tested on seperate add line for table layout : <property name="layoutManager.addLineGroup.layoutManager"> <bean parent="Uif-HorizontalBoxLayout"/> </property> Fields were stacked horizontally.
            Hide
            bsmith Brian Smith (Inactive) added a comment -

            Note the linked related jira

            Show
            bsmith Brian Smith (Inactive) added a comment - Note the linked related jira
            Hide
            samuel Samuel Holtzkampf (Inactive) added a comment -

            Had to change BoxLayoutManager to initialize styles in performFinalize. But more configuration is needed for this to work :

            In the TableCollectionSection :

            <property name="layoutManager.separateAddLine" value="true" />
            <property name="layoutManager.addLineGroup">
            <bean parent="Uif-CollectionHorizontalBoxItem" p:cssClasses="uif-collectionItem,uif-tableCollectionItem,uif-collectionAddItem">
            <property name="header">
            <bean parent="Uif-SectionHeader"/>
            </property>
            </bean>
            </property>
            <property name="layoutManager.addLineGroup.layoutManager">
            <bean parent="Uif-HorizontalBoxLayout"/>
            </property>

            Show
            samuel Samuel Holtzkampf (Inactive) added a comment - Had to change BoxLayoutManager to initialize styles in performFinalize. But more configuration is needed for this to work : In the TableCollectionSection : <property name="layoutManager.separateAddLine" value="true" /> <property name="layoutManager.addLineGroup"> <bean parent="Uif-CollectionHorizontalBoxItem" p:cssClasses="uif-collectionItem,uif-tableCollectionItem,uif-collectionAddItem"> <property name="header"> <bean parent="Uif-SectionHeader"/> </property> </bean> </property> <property name="layoutManager.addLineGroup.layoutManager"> <bean parent="Uif-HorizontalBoxLayout"/> </property>

              People

              • Assignee:
                samuel Samuel Holtzkampf (Inactive)
                Reporter:
                jkneal Jerry Neal (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: