- Qt 6.8
- Qt Quick
- Qt Quick Layouts
- Qt 6.8.3 Reference Documentation

# Qt Quick Layouts

Qt Quick Layouts are a set of QML types used to arrange items in a user interface. In contrast to positioners, Qt Quick Layouts can also resize their child items. This makes them well suited for resizable user interfaces.

Visit the Qt Quick Layouts Overview page to get started.

## Using the Module

The QML types of the module are available through the `QtQuick.Layouts` import. To use the types, add the following import statement to your .qml file:

     import QtQuick.Layouts

## Layouts

ColumnLayout | Identical to GridLayout, but having only one column
GridLayout | Provides a way of dynamically arranging items in a grid
Layout | Provides attached properties for items pushed onto a GridLayout, RowLayout or ColumnLayout
LayoutItemProxy | Placeholder for QQuickItems in layouts
RowLayout | Identical to GridLayout, but having only one row
StackLayout | Stack of items where only one item is visible at a time

## Articles and Guides

- Qt Quick Layouts Overview
- Qt Quick Responsive Layouts

## Examples

- Qt Quick Layouts - Basic Example
- Qt Quick Layouts - Responsive Layout Example

## Reference

- Qt Quick Layouts QML Types

## Related Modules

- Qt Quick

## Licenses

Qt Quick Layouts is available under commercial licenses from The Qt Company. In addition, it is available under free software licenses. Since Qt 5.4, these free software licenses are GNU Lesser General Public License, version 3, or the GNU General Public License, version 2. See Qt Licensing for further details.