logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class FlexboxSolverTests

    Tests for Serenity.Ui.Domain.Services.FlexboxSolver: the pure main-axis layout solver shared by the builder wireframe and the UI preview (FIXED/PERCENT claim space first, FLEX/AUTO share the remainder).

    Inheritance
    object
    FlexboxSolverTests
    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.Domain
    Assembly: Tests.dll
    Syntax
    public class FlexboxSolverTests

    Constructors

    FlexboxSolverTests()

    Declaration
    public FlexboxSolverTests()

    Methods

    Auto_IsTreatedAsOneFlexShare()

    Declaration
    public void Auto_IsTreatedAsOneFlexShare()

    EmptyInput_ReturnsEmpty()

    Declaration
    public void EmptyInput_ReturnsEmpty()

    FixedThenFlex_FixedKeepsSizeFlexTakesRemainder()

    Declaration
    public void FixedThenFlex_FixedKeepsSizeFlexTakesRemainder()

    Fixed_ScaledByPxScale()

    Declaration
    public void Fixed_ScaledByPxScale()

    Flex_SharesByWeight()

    Declaration
    public void Flex_SharesByWeight()

    Gap_IsSubtractedBeforeDistribution()

    Declaration
    public void Gap_IsSubtractedBeforeDistribution()

    NoFlex_AbsoluteFits_LeavesAsIs()

    Declaration
    public void NoFlex_AbsoluteFits_LeavesAsIs()

    NoFlex_AbsoluteOverflow_ScalesDownToFit()

    Declaration
    public void NoFlex_AbsoluteOverflow_ScalesDownToFit()

    Percent_IsFractionOfContentAfterGaps()

    Declaration
    public void Percent_IsFractionOfContentAfterGaps()

    TwoFlex_SplitTheAxisEqually()

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