Group QML Type
A group item that gets its size from its children. More...
Import Statement: | import QtQuick.Studio.Components 1.0 |
Since: | QtQuick.Studio.Components 1.0 |
Inherits: |
Detailed Description
The Group type is an Item type extended with the size property. The value of size is automatically calculated to fit the children of the group.
Example Usage
You can use the Group type to specify the size of one or several items.
The QML code looks as follows:
GroupItem { id: group Rectangle { id: rectangle width: 200 height: 200 color: "#c2c2c2" } Rectangle { id: rectangle1 x: 140 y: 140 width: 200 height: 200 color: "#000000" } }
Available under certain Qt licenses.
Find out more.