logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UnityLayoutBuilderChildSizingTests

    Extends UnityLayoutBuilderTests with the child-sizing branches it did not cover: FLEX growth (with optional min), PERCENT delegation to Serenity.Ui.Infrastructure.Views.UnityPercentLayoutElement, hosted auto-size reservation, layout-group spacing/padding/alignment translation, and the null-argument guards.

    Inheritance
    object
    UnityLayoutBuilderChildSizingTests
    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 UnityLayoutBuilderChildSizingTests

    Constructors

    UnityLayoutBuilderChildSizingTests()

    Declaration
    public UnityLayoutBuilderChildSizingTests()

    Methods

    ApplyChildSize_FlexWithMin_AppliesMinimumSize()

    Declaration
    public void ApplyChildSize_FlexWithMin_AppliesMinimumSize()

    ApplyChildSize_Flex_SetsFlexibleGrowthWithZeroBasis()

    Declaration
    public void ApplyChildSize_Flex_SetsFlexibleGrowthWithZeroBasis()

    ApplyChildSize_NullChild_Throws()

    Declaration
    public void ApplyChildSize_NullChild_Throws()

    ApplyChildSize_Percent_AddsPercentLayoutElementAndZeroesFlexible()

    Declaration
    public void ApplyChildSize_Percent_AddsPercentLayoutElementAndZeroesFlexible()

    ApplyHostedAutoSize_NonPositiveSizes_LeavesPreferredUntouched()

    Declaration
    public void ApplyHostedAutoSize_NonPositiveSizes_LeavesPreferredUntouched()

    ApplyHostedAutoSize_PositiveSizes_ReservesPreferredOnBothAxes()

    Declaration
    public void ApplyHostedAutoSize_PositiveSizes_ReservesPreferredOnBothAxes()

    BuildContainer_CenterJustifyAndAlign_ProducesMiddleCenterAnchor()

    Declaration
    public void BuildContainer_CenterJustifyAndAlign_ProducesMiddleCenterAnchor()

    BuildContainer_Column_ProducesHorizontalLayoutGroupWithSpacingAndPadding()

    Declaration
    public void BuildContainer_Column_ProducesHorizontalLayoutGroupWithSpacingAndPadding()

    BuildContainer_NullConfig_Throws()

    Declaration
    public void BuildContainer_NullConfig_Throws()

    BuildContainer_NullHost_Throws()

    Declaration
    public void BuildContainer_NullHost_Throws()

    BuildContainer_Row_ProducesVerticalLayoutGroup()

    Declaration
    public void BuildContainer_Row_ProducesVerticalLayoutGroup()

    BuildContainer_StretchAlign_ForcesCrossAxisExpand()

    Declaration
    public void BuildContainer_StretchAlign_ForcesCrossAxisExpand()

    SetUp()

    Declaration
    public void SetUp()

    TearDown()

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