logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Namespace Serenity.Shared.Layout

    Classes

    DiagramColumnLayout

    Pure arithmetic for laying out one column of a two-kind card diagram, extracted from Serenity.EventDispatcher.Infrastructure.Editor.SerenitySignalFlowBrowserWindow: which candidate cards become visible slots once a column is truncated to its maximum card count, where the trailing "show N more…" pseudo-card goes, and how far a column's second card kind gets pushed down to leave room for a section header. Card measurement (width/height in screen units) deliberately stays with the caller, since it depends on GUIStyle text metrics this type knows nothing about.

    ListRowLayout

    Solves the horizontal layout of one list row: a leading marker, a title, a run of at-a-glance badges, and a control strip pinned to the right edge.

    ListRowLayout.Metrics

    How a row is proportioned.

    ListRowLayout.Solution

    The slices one row was divided into.

    Structs

    DiagramColumnSlot

    One candidate card for a diagram column: its kind tag plus the title/sub/tooltip text it would show.

    DiagramColumnTruncation

    Result of truncating one diagram column to a maximum visible card count.

    RowSpan

    A horizontal slice of a row: where it starts and how wide it is.

    In this article
    © 2026 Serenity. All Rights Reserved