Uploaded image for project: 'Content Editor'
  1. Content Editor
  2. CONTEDIT-146

Value dependent widths of link fields

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 1.0.6
    • None
    • None

      Based on this ticket CONTEDIT-136 we came up with a solution that is easier to implement.

      Problem:
      Link fields have a fixed with. With the new style of the content editor link fields (add image… / add poster… etc. ) look strange: the button is positioned offsite on the right side disconnected from the placeholder text.

      Solution:
      If link fields have no value they have a fixed width of 190px. The short placeholder text fits into that width. All buttons, selects, etc are vertically aligned at 190px so the editor UI looks much tidier.

      If the link field has a value (an image has been selected) it expands to the full width. The link field and according button is then nicely aligned with the image preview above.

      Note

      • Make sure this is applied to all link fields in the content editor.
      • Make sure other fields such as date field, dropdowns, etc. have the same width 190px so they are all nicely aligned.

        Acceptance criteria

          1. page 0.png
            page 0.png
            343 kB
          2. page 1.png
            page 1.png
            341 kB
          3. page 2.png
            page 2.png
            503 kB

              sang.ngo Sang Ngo Huu
              avongunten Anja von Gunten
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Task DoD

                    Estimated:
                    Original Estimate - 1d
                    1d
                    Remaining:
                    Remaining Estimate - 0d
                    0d
                    Logged:
                    Time Spent - 0.75d Time Not Required
                    0.75d