Uploaded image for project: 'Contacts App'
  1. Contacts App
  2. CNTCTSAPP-118

Dialog -> Linkfield -> Contact Preview -> Layout issue

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Neutral Neutral
    • None
    • None
    • Chrome: Version 65.0.3325.181 (Offizieller Build) (32-Bit)

      Hello,

      I'm using the dialog configuration with the ContactPreviewComponent class:

      form:
        i18nBasename: info.magnolia.module.mdule-name.messages
        tabs:
          - name: tabMain
            fields:
              - name: contacts
                transformerClass: info.magnolia.ui.form.field.transformer.multi.MultiValueSubChildrenNodePropertiesTransformer
                required: true
                field:
                  name: item
                  class: info.magnolia.ui.form.field.definition.CompositeFieldDefinition
                  layout: vertical
                  transformerClass: info.magnolia.ui.form.field.transformer.composite.NoOpCompositeTransformer
                  fields:
                    - name: contact
                      label: generic.empty
                      description: generic.empty
                      class: info.magnolia.ui.form.field.definition.LinkFieldDefinition
                      targetWorkspace: contacts
                      appName: contacts
                      contentPreviewDefinition:
                        contentPreviewClass: info.magnolia.contacts.app.field.component.ContactPreviewComponent
      commit:
        class: info.magnolia.ui.dialog.action.SaveDialogActionDefinition
      cancel:
        class: info.magnolia.ui.dialog.action.CancelDialogActionDefinition

       The dialog with the contact preview render with the configuration imaging -> portrait. With a contact image ratio 16:9 like my example (see screenshot) the preview image is too large/ the labels is running into the image.

      Please fix that issue either with a spearate contact image portrait configuration or whatever.

      byE Simon Heyden

        Acceptance criteria

              Unassigned Unassigned
              simon.heyden Simon Heyden
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: