Class FlexibleGridLayout

java.lang.Object
is.codion.swing.common.ui.layout.FlexibleGridLayout
All Implemented Interfaces:
LayoutManager, LayoutManager2

public final class FlexibleGridLayout extends Object implements LayoutManager2
A layout manager similar to GridLayout, but allows components to maintain their preferred size. Rows and columns can optionally be normalized to the largest size in their dimension. Designed in Codion style with a fluent builder API.

Features: - Optional fixed row heights or column widths. - Custom horizontal and vertical gaps. - Maintains preferred component sizes when not fixed. - Safe for variable component counts and nested containers.

Author: Björn Darri Sigurðsson (with help)