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

Restyle combobox and its positioning


    • Type: Improvement
    • Status: Closed
    • Priority: Neutral
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.5.6, 5.6
    • Component/s: None
    • Labels:
    • Sprint:
      Saigon 101, Saigon 102, Saigon 103, Saigon 104, Saigon 105
    • Story Points:
    • Magnolia Release:
      5.5.6, 5.6


      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.


          Issue Links



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


                • Created:

                  Time Tracking

                  Original Estimate - 3d Original Estimate - 3d
                  Remaining Estimate - 0d
                  Time Spent - 7d