Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Official Editor design system - spring update for Unity’s 2022 LTS!

Discussion in 'UI Toolkit' started by LostDog-FoundCat, Jun 6, 2023.

  1. LostDog-FoundCat

    LostDog-FoundCat

    Unity Technologies

    Joined:
    Jun 1, 2021
    Posts:
    19
    Please check out our new batch of Editor Foundations Design System updates, just in time for Unity’s recently released 2022 LTS:
    1. New Pattern: Inheritance - demystifying overrides, parent-child objects, and more
    2. New Controls: Formatting and implementation details for…
    3. New Functionality: now able to display UXML code snippets, pulled live from the Unity Manual (see Multi-column Views content for an example)
    4. Site Redesign: Enjoy our improved visuals and fresh new look!

    Question for you folks in the Unity Editor community: When you recently visited the Editor design system, what specific content were you looking for? Did you find the information you needed?

    Thanks everyone and please send along your feedback, as we are always looking to improve the EFDS!

    EFDS-landing.png
     
  2. Hertzole

    Hertzole

    Joined:
    Jul 27, 2013
    Posts:
    416
    I was afraid that you had abandoned this awesome guidelines page as there has been very little activity on it recently. Love the new updates!

    I'm still eagerly waiting for the icon library. It's still very hard to find icons for your assets. Sometimes you just gotta guess or find one of those GitHub repos with all icons laid out that may or may not be outdated.
     
  3. MechaWolf99

    MechaWolf99

    Joined:
    Aug 22, 2017
    Posts:
    290
    Oh cool! I was under the impression that the team had been reassigned. Glad to see updates to this! I know there is a massive backlog of stuff. But would love to see more patterns!
     
    LostDog-FoundCat likes this.
  4. LostDog-FoundCat

    LostDog-FoundCat

    Unity Technologies

    Joined:
    Jun 1, 2021
    Posts:
    19
    So happy you like the new updates! And yes it no doubt looked very quiet from our end for a while, but we were busily trying to sort out some recent changes to these elements internally before they were ready to release the relevant guidance publicly.
    Thanks for that feedback! We've heard folks mention their interest in the icon library before, and it's helpful to hear that's still something that would be helpful for users. I'll push it up higher on our list of work items to see if we can make that a reality in the near future.
     
    oscarAbraham and Hertzole like this.
  5. LostDog-FoundCat

    LostDog-FoundCat

    Unity Technologies

    Joined:
    Jun 1, 2021
    Posts:
    19
    Luckily we're still here and plugging away at the EFDS. We're pleased to hear you like the updates! And, to your request, we indeed have more patterns in the works, but they still need a bit more work before we can add those to the design system.
     
    MechaWolf99 likes this.
  6. MechaWolf99

    MechaWolf99

    Joined:
    Aug 22, 2017
    Posts:
    290
    YAY! I think for me to two biggest patterns would be nested header foldouts. And lists/trees, in areas where a ListView doesn't make sense, such as the Input System window, Animator window parameters & layers, Visual Scripting parameters window etc. Those are both areas that I have repeatedly come across and struggled with finding the right styling.
    From when I still had accesses to the internal todo list, I think I remember both of those were already on the list. But thought I would mention them anyway.

    Keep up the great work!
     
    LostDog-FoundCat likes this.
  7. equal

    equal

    Joined:
    Dec 14, 2012
    Posts:
    77
    How can i style , lets say change the ColumnHeaderHeight in the MultiColumnTreeView?
    Also when i change the FontSize in the MultiColumnTreeView, the ColumnHeaderWidth doesnt seem to update properly.
     
  8. LostDog-FoundCat

    LostDog-FoundCat

    Unity Technologies

    Joined:
    Jun 1, 2021
    Posts:
    19
    Hi Equal, sorry for the slow response to your questions - the summer vacation season can slow down our coverage. But happily I have an answer to your first question: "How can i style , lets say change the ColumnHeaderHeight in the MultiColumnTreeView?"
    Changing height on the unity-multi-column-header uss class name would change the header height.
    It only has the min-height: 20px style affecting height, so it can be easily changed:
    ColumnHeaderHeight.png
     
  9. cwc

    cwc

    Joined:
    Mar 7, 2020
    Posts:
    2
    • If I know the width and height of the Label, how do I figure out how many strings I can display
     
  10. LostDog-FoundCat

    LostDog-FoundCat

    Unity Technologies

    Joined:
    Jun 1, 2021
    Posts:
    19
    It's quite dependent on the font as not every character may be the same size.