logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UnityTablePanelScrollTests

    Tests for UnityTablePanel's scroll shell: no shell when nothing scrolls, single-axis and both-axes construction (one UnityEngine.UI.ScrollRect either way), per-axis content anchors, viewport reuse across a second SetMatrix(TableMatrix) call, the reparent hygiene reset, and scrollbar on/off — plus the ResponsiveY+ScrollableY "fits, never needs to scroll" pin.

    Inheritance
    object
    UnityTablePanelScrollTests
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.Ui.Tests.Infrastructure.Views
    Assembly: Tests.dll
    Syntax
    public class UnityTablePanelScrollTests

    Constructors

    UnityTablePanelScrollTests()

    Declaration
    public UnityTablePanelScrollTests()

    Methods

    SetMatrix_BothAxesScrollable_ContentAnchoredToASingleTopLeftPoint()

    Declaration
    public void SetMatrix_BothAxesScrollable_ContentAnchoredToASingleTopLeftPoint()

    SetMatrix_BothAxesScrollable_OneScrollRectDrivesBothWithASingleMask()

    Declaration
    public void SetMatrix_BothAxesScrollable_OneScrollRectDrivesBothWithASingleMask()

    SetMatrix_BuildingTheShell_ResetsTheReparentedContentsPreExistingScaleAndRotation()

    Declaration
    public void SetMatrix_BuildingTheShell_ResetsTheReparentedContentsPreExistingScaleAndRotation()

    SetMatrix_CalledAgain_ReusesTheAlreadyBuiltViewportInsteadOfRebuildingTheShell()

    Declaration
    public void SetMatrix_CalledAgain_ReusesTheAlreadyBuiltViewportInsteadOfRebuildingTheShell()

    SetMatrix_NeitherAxisScrollable_NoScrollRectIsBuilt()

    Declaration
    public void SetMatrix_NeitherAxisScrollable_NoScrollRectIsBuilt()

    SetMatrix_ResponsiveYAndScrollableY_DistributionFits_TheEvenSplitWinsOverTheFloor()

    Declaration
    public void SetMatrix_ResponsiveYAndScrollableY_DistributionFits_TheEvenSplitWinsOverTheFloor()

    SetMatrix_ScrollableXOnly_ContentAnchoredStretchedVerticallyPinnedToTheLeftEdge()

    Declaration
    public void SetMatrix_ScrollableXOnly_ContentAnchoredStretchedVerticallyPinnedToTheLeftEdge()

    SetMatrix_ScrollableX_BuildsAHorizontalScrollRect()

    Declaration
    public void SetMatrix_ScrollableX_BuildsAHorizontalScrollRect()

    SetMatrix_ScrollableYOnly_ContentAnchoredStretchedHorizontallyPinnedToTheTopEdge()

    Declaration
    public void SetMatrix_ScrollableYOnly_ContentAnchoredStretchedHorizontallyPinnedToTheTopEdge()

    SetMatrix_ScrollableYWithScrollbarsOff_BuildsNoScrollbar()

    Declaration
    public void SetMatrix_ScrollableYWithScrollbarsOff_BuildsNoScrollbar()

    SetMatrix_ScrollableYWithScrollbarsOn_BuildsAVerticalScrollbar()

    Declaration
    public void SetMatrix_ScrollableYWithScrollbarsOn_BuildsAVerticalScrollbar()

    SetMatrix_ScrollableY_BuildsAVerticalScrollRectWithAMaskedViewport()

    Declaration
    public void SetMatrix_ScrollableY_BuildsAVerticalScrollRectWithAMaskedViewport()

    SetUp()

    Declaration
    public void SetUp()

    TearDown()

    Declaration
    public void TearDown()
    In this article
    © 2026 Serenity. All Rights Reserved