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

Question Align ui to bottom left

Discussion in 'UI Toolkit' started by initer, Jul 10, 2023.

  1. initer

    initer

    Joined:
    Nov 19, 2018
    Posts:
    8
    Hello. I am creating new UI with toolkit, could I create small layout (default and align it bottom left)
    The basic alignment is top left.

    Thank you.
     
  2. ncerone_unity

    ncerone_unity

    Unity Technologies

    Joined:
    Jan 13, 2022
    Posts:
    32
    Hi, you can use a selector with the VisualElement name and overiding the Flex Direction to ColumnReverse:

    upload_2023-7-12_9-38-41.png

    This will overide the layout direction for all the visual element in the UI without you having to manually set them.
     
    initer likes this.
  3. initer

    initer

    Joined:
    Nov 19, 2018
    Posts:
    8
    Many Thanks :)