Search Unity

Question Can you use UI layout to create staggered rows?

Discussion in 'UGUI & TextMesh Pro' started by flasker, Jan 6, 2023.

  1. flasker

    flasker

    Joined:
    Aug 5, 2022
    Posts:
    193
    I know how to use ui layout to create rows with certain offsets but i wanted to create rows that were slightly staggered vertically like so:

    Untitled.png Is there an elegant way to do this with just one component, or do I have to use two components and apply to the taller collumns?
     
  2. karliss_coldwild

    karliss_coldwild

    Joined:
    Oct 1, 2020
    Posts:
    602
    Which UI framework are you talking about? Not considering third party ones, there are 3 official builtin ones.
     
  3. flasker

    flasker

    Joined:
    Aug 5, 2022
    Posts:
    193
  4. MelvMay

    MelvMay

    Unity Technologies

    Joined:
    May 24, 2013
    Posts:
    11,495
    Please use the UI forum to ask UI questions, not the 2D forum.

    I'll move your post for you.
     
  5. flasker

    flasker

    Joined:
    Aug 5, 2022
    Posts:
    193
    i guess what i want is something that sorts like an hexagonal grid? But i want squares not hexagons
     
  6. flasker

    flasker

    Joined:
    Aug 5, 2022
    Posts:
    193
    any thoughts?
     
  7. flasker

    flasker

    Joined:
    Aug 5, 2022
    Posts:
    193
    thoughts?
     
  8. flasker

    flasker

    Joined:
    Aug 5, 2022
    Posts:
    193
    any thoughts?
     
  9. flasker

    flasker

    Joined:
    Aug 5, 2022
    Posts:
    193
    thoughts?