![]() |
Cockatrice 2026-06-01-Development-3.1.0-beta.3
A virtual tabletop for multiplayer card games
|
Implementation of FlowLayout — a QLayout that wraps child widgets into rows (Qt::Horizontal flow) or columns (Qt::Vertical flow). More...
#include "flow_layout.h"#include "../widgets/general/layout_containers/flow_widget.h"#include <QDebug>#include <QLayoutItem>#include <QScrollArea>#include <QStyle>#include <QWidgetItem>Implementation of FlowLayout — a QLayout that wraps child widgets into rows (Qt::Horizontal flow) or columns (Qt::Vertical flow).
Design contract (following Qt layout conventions):
The layout never calls setFixedSize() or adjustSize() on its parent widget; that is the responsibility of the parent widget / scroll area.