Search Unity

Bug RectangleSelector needs an offset in the right side of a TwoPaneSplitView

Discussion in 'UI Toolkit' started by Djayp, Dec 7, 2020.

  1. Djayp

    Djayp

    Joined:
    Feb 16, 2015
    Posts:
    114
    Everything is in the title. No problem if it is in the bottom side. (Unity 2020.2.b13)

    Code (CSharp):
    1. TwoPaneSplitView hSplit = new TwoPaneSplitView(0, 192f, TwoPaneSplitViewOrientation.Horizontal );
    2. hSplit.Add(new VisualElement());
    3. hSplit.Add(GraphView);
     
    Last edited: Dec 7, 2020