Uploaded image for project: 'Content Dependencies'
  1. Content Dependencies
  2. MGNLCDEP-120

Using wide property with dialog makes the tab overly spaced out

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Neutral
    • None
    • 2.0.3
    • None

    Description

      If you add content dependencies to a dialog which uses wide the layout of dependency list gets overly spaced apart. The rest of the dialog looks fine. Only effects the dependencies tab.

      Reproduce
      In the Resource Files app edit the pageProperties dialog for the travel demo here: /travel-demo/dialogs/pages/pageProperties.yaml

      !inherit:mtk2:pages/basic
      wide: true
      form:
        properties:
          searchResultPage:
            $type: linkField
          referencesTo:
            class: info.magnolia.module.dependencies.ui.field.DependenciesViewDefinition
            referencesTo: true
            references:
              pages:
                appMapping: app:pages-app:browser
                workspace: website
                referenceProperties:
                  - link
                  - linkTypepage #teaser component
          referencesFrom:
            class: info.magnolia.module.dependencies.ui.field.DependenciesViewDefinition
            referencesTo: false
            references:
              pages:
                appMapping: app:pages-app:browser
                workspace: website
                referenceProperties:
                  - link
                  - linkTypepage #teaser component
              assets:
                appMapping: app:dam:jcrBrowser
                workspace: dam
                pathResolver:
                  class: info.magnolia.module.dependencies.field.resolver.AssetPathResolverImpl
                appLocationFactory:
                  class: info.magnolia.module.dependencies.field.factory.DamAppLocationFactoryImpl
      
        layout:
          $type: tabbedLayout
          tabs:
            tabSearch:
              fields:
                - name: searchResultPage
              
            tabDependencies:
              label: Dependencies
              fields:
                - name: referencesTo
                - name: referencesFrom
      

      Actual
      The spacing between dependency lists is exaggerated. Notice you cannot see the assets and there is a lot of white space between the two lists.

      Expected
      It should look similar as when not using wide.

      Checklists

        Acceptance criteria

        Attachments

          1. without-wide.png
            without-wide.png
            287 kB
          2. with-wide.png
            with-wide.png
            268 kB

          Activity

            People

              Unassigned Unassigned
              rgange Richard Gange
              AuthorX
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Checklists

                  Bug DoR
                  Task DoD