Skip to content
Version 2.32.0
↓ Get the launcher

WindowSpec.FixedHeight property

Pin the window HEIGHT to DefaultRect.Height instead of fitting it to the content (GlassMenu chrome; ignored when Resizable, which already fixes the size). The vertical ContentSizeFitter is off, so a body whose preferred height exceeds the pinned height can never grow the window: uGUI squeezes the body toward its MIN height instead (a VirtualList / ScrollElement viewport has min 0, so lists give way first). For a tabbed window that must keep one size on every tab (the Settings hub). Default false = content-fit, as before. Init-only → binary-safe (no plugin rebuild).

public bool FixedHeight { get; set; }