Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-4162

Restyle combobox and its positioning

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 5.5.6, 5.6
    • None
    • None
    • None
    • Saigon 101, Saigon 102, Saigon 103, Saigon 104, Saigon 105
    • 5

      We've discussed this in UX. Our main aim now is to avoid that a second combobox (or any other UI element) on the right jumps horizontally if the value in the combobox changes. This has been the main feedback so far, and it's perfectly valid, and it makes sense from a visual design standpoint as well. We also still want to keep the arrow next to the value so that it remains clear that that value can be changed.

      One common solution in visual design - and the one we've settled with - is to give such elements a fixed, configurable width and visually anchor the element with faint separators on the left and the right - see part "A" in the explanations attached below. You'll also find a similar solution in the original design for selectors in the edit bar (see e.g. [^3-1 Visual design of selectors.png]). Part "B" lists the details on paddings, fonts and colors used.

      The main design intent is:

      1. Every switcher in the dialog footer has a fixed width (minimum: 125px), which can be configured to be wider. We expect 125px for the language and 180px for the variant switcher to be good defaults.
      2. The width of the actual combobox (minimum: 120px) is independent of the width of the switcher. It should open above the value label - we've understood this is currently hard to achieve.
      3. Switchers are bordered by a 22px high and 1px wide separators on the left and the right*.
      4. The distance between the left separator and the value, between the value and the arrow is fixed (10 px or 15 px resp.). The distance between the arrow and the right separator is at least 10px.
      5. Values are truncated using an ellipsis ("...") in case they don't fit within the chosen width of the combobox.

      Please let us know if you plan to adapt other instances of the combobox. We might want to slightly translate or adjust this design.

        Acceptance criteria

              sang.ngo Sang Ngo Huu
              efochr Evzen Fochr
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Task DoD

                    Estimated:
                    Original Estimate - 3d Original Estimate - 3d
                    3d
                    Remaining:
                    Remaining Estimate - 0d
                    0d
                    Logged:
                    Time Spent - 7d
                    7d