跳到主要内容

Class HorizontalSplitView

Events

onPaneWidthChanged

public event Action onPaneWidthChanged;

Properties

splitlineWidth

public float splitlineWidth { get; set; }

splitlinColor

public Color splitlinColor { get; set; }

leftPane

public VisualElement leftPane { get; }

rightPane

public VisualElement rightPane { get; }

flexPane

public VisualElement flexPane { get; private set; }

fixedPane

public VisualElement fixedPane { get; private set; }

Methods

SetFixedPane(PaneType paneType)

public void SetFixedPane(PaneType paneType)

AddToLeftPane(VisualElement visualElement)

public void AddToLeftPane(VisualElement visualElement)

AddToRightPane(VisualElement visualElement)

public void AddToRightPane(VisualElement visualElement)

SetFixedPanelWidth(float width, [bool notify = true])

public void SetFixedPanelWidth(float width, [bool notify = true])

SetFixedPaneMinWidth(float minWidth)

public void SetFixedPaneMinWidth(float minWidth)