Kuali Rice Development
  1. Kuali Rice Development
  2. KULRICE-8420

Horizontal layout does not work within a collection item

    Details

    • Type: Bug Fix Bug Fix
    • Status: Closed Closed
    • Priority: Critical 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
    • Similar issues:
      KULRICE-13974 items within a collection that have a label with expression does not evaluate
      KULRICE-7589applyDefaultCellWidths property on table layout manager is not working properly
      KULRICE-8409Same height box layout support for Horizontal box layouts
      KULRICE-8529KNS Theme - Horizontal tabs updates
      KULRICE-7888Css box layout classes are appearing more than once in items of a collection
      KULRICE-13271Item Css demo is not working in Box Layout Manager demo
      KULRICE-13923Lookup return doesn't work when using a nested lookup within a dialog
      KULRICE-7030Default action field prototype on TableLayoutManager bean to be horizontal layout
      KULRICE-9003parentLine not available within the items property of a subcollection
      KULRICE-12447Library Box Layout Manager - the highlight items & outline groups buttons don’t work
    • 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.

        Issue Links

          Activity

          Hide
          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 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
          Brian Smith (Inactive) added a comment -

          Note the linked related jira

          Show
          Brian Smith (Inactive) added a comment - Note the linked related jira
          Hide
          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 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 Holtzkampf (Inactive)
              Reporter:
              Jerry Neal (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Structure Helper Panel