/usr/share/qt5/doc/qtquicklayouts/qml-qtquick-layouts-layout.html is in qtquickcontrols5-doc-html 5.5.1-1ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qquicklayout.cpp -->
<title>Layout QML Type | Qt Quick Layouts 5.5</title>
<link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<div class="header" id="qtdocheader">
<div class="main">
<div class="main-rounded">
<div class="navigationbar">
<ul>
<li>Qt 5.5</li>
<li><a href="qtquicklayouts-index.html">Qt Quick Layouts</a></li>
<li id="buildversion">Qt 5.5.1 Reference Documentation</li>
</ul>
</div>
</div>
<div class="content">
<div class="line">
<div class="content mainContent">
<div class="sidebar">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#properties">Attached Properties</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">Layout QML Type</h1>
<span class="subtitle"></span>
<!-- $$$Layout-brief -->
<p>Provides attached properties for items pushed onto a <a href="qml-qtquick-layouts-gridlayout.html">GridLayout</a>, <a href="qml-qtquick-layouts-rowlayout.html">RowLayout</a> or <a href="qml-qtquick-layouts-columnlayout.html">ColumnLayout</a>. <a href="#details">More...</a></p>
<!-- @@@Layout -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Import Statement:</td><td class="memItemRight bottomAlign"> import QtQuick.Layouts 1.2</td></tr></table></div><ul>
<li><a href="qml-qtquick-layouts-layout-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="attached-properties"></a>
<h2 id="attached-properties">Attached Properties</h2>
<ul>
<li class="fn"><b><b><a href="qml-qtquick-layouts-layout.html#alignment-attached-prop">alignment</a></b></b> : Qt.Alignment</li>
<li class="fn"><b><b><a href="qml-qtquick-layouts-layout.html#bottomMargin-attached-prop">bottomMargin</a></b></b> : real</li>
<li class="fn"><b><b><a href="qml-qtquick-layouts-layout.html#column-attached-prop">column</a></b></b> : int</li>
<li class="fn"><b><b><a href="qml-qtquick-layouts-layout.html#columnSpan-attached-prop">columnSpan</a></b></b> : int</li>
<li class="fn"><b><b><a href="qml-qtquick-layouts-layout.html#fillHeight-attached-prop">fillHeight</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-qtquick-layouts-layout.html#fillWidth-attached-prop">fillWidth</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-qtquick-layouts-layout.html#leftMargin-attached-prop">leftMargin</a></b></b> : real</li>
<li class="fn"><b><b><a href="qml-qtquick-layouts-layout.html#margins-attached-prop">margins</a></b></b> : real</li>
<li class="fn"><b><b><a href="qml-qtquick-layouts-layout.html#maximumHeight-attached-prop">maximumHeight</a></b></b> : real</li>
<li class="fn"><b><b><a href="qml-qtquick-layouts-layout.html#maximumWidth-attached-prop">maximumWidth</a></b></b> : real</li>
<li class="fn"><b><b><a href="qml-qtquick-layouts-layout.html#minimumHeight-attached-prop">minimumHeight</a></b></b> : real</li>
<li class="fn"><b><b><a href="qml-qtquick-layouts-layout.html#minimumWidth-attached-prop">minimumWidth</a></b></b> : real</li>
<li class="fn"><b><b><a href="qml-qtquick-layouts-layout.html#preferredHeight-attached-prop">preferredHeight</a></b></b> : real</li>
<li class="fn"><b><b><a href="qml-qtquick-layouts-layout.html#preferredWidth-attached-prop">preferredWidth</a></b></b> : real</li>
<li class="fn"><b><b><a href="qml-qtquick-layouts-layout.html#rightMargin-attached-prop">rightMargin</a></b></b> : real</li>
<li class="fn"><b><b><a href="qml-qtquick-layouts-layout.html#row-attached-prop">row</a></b></b> : int</li>
<li class="fn"><b><b><a href="qml-qtquick-layouts-layout.html#rowSpan-attached-prop">rowSpan</a></b></b> : int</li>
<li class="fn"><b><b><a href="qml-qtquick-layouts-layout.html#topMargin-attached-prop">topMargin</a></b></b> : real</li>
</ul>
<!-- $$$Layout-description -->
<a name="details"></a>
<h2 id="details">Detailed Description</h2>
</p>
<p>An object of type Layout is attached to children of the layout to provide layout specific information about the item. The properties of the attached object influences how the layout will arrange the items.</p>
<p>For instance, you can specify <a href="qml-qtquick-layouts-layout.html#minimumWidth-attached-prop">minimumWidth</a>, <a href="qml-qtquick-layouts-layout.html#preferredWidth-attached-prop">preferredWidth</a>, and <a href="qml-qtquick-layouts-layout.html#maximumWidth-attached-prop">maximumWidth</a> if the default values are not satisfactory.</p>
<p>When a layout is resized, items may grow or shrink. Due to this, items have a <a href="qml-qtquick-layouts-layout.html#minimumWidth-attached-prop">minimum size</a>, <a href="qml-qtquick-layouts-layout.html#preferredWidth-attached-prop">preferred size</a> and a <a href="qml-qtquick-layouts-layout.html#maximumWidth-attached-prop">maximum size</a>.</p>
<p>If minimum size have not been explicitly specified on an item, the size is set to <code>0</code>. If maximum size have not been explicitly specified on an item, the size is set to <code>Number.POSITIVE_INFINITY</code>.</p>
<p>For layouts, the implicit minimum and maximum size depends on the content of the layouts.</p>
<p>The <a href="qml-qtquick-layouts-layout.html#fillWidth-attached-prop">fillWidth</a> and <a href="qml-qtquick-layouts-layout.html#fillHeight-attached-prop">fillHeight</a> properties can either be <code>true</code> or <code>false</code>. If it is <code>false</code>, the item's size will be fixed to its preferred size. Otherwise, it will grow or shrink between its minimum and maximum size as the layout is resized.</p>
<p><b>Note: </b>It is not recommended to have bindings to the x, y, width, or height properties of items in a layout, since this would conflict with the goal of the Layout, and also cause binding loops.</p><p><b>See also </b><a href="qml-qtquick-layouts-gridlayout.html">GridLayout</a>, <a href="qml-qtquick-layouts-rowlayout.html">RowLayout</a>, and <a href="qml-qtquick-layouts-columnlayout.html">ColumnLayout</a>.</p>
<!-- @@@Layout -->
<h2>Attached Property Documentation</h2>
<!-- $$$alignment -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="alignment-attached-prop"><td class="tblQmlPropNode"><p><a name="alignment-attached-prop"></a><span class="name">Layout.alignment</span> : <span class="type"><a href="../qtqml/qml-qtqml-qt.html">Qt</a></span>.<span class="type">Alignment</span></p></td></tr></table></div></div><div class="qmldoc"><p>This property allows you to specify the alignment of an item within the cell(s) it occupies.</p>
<p>The default value is <code>0</code>, which means it will be <code>Qt.AlignVCenter | Qt.AlignLeft</code></p>
<p>A valid alignment is a combination of the following flags:</p>
<ul>
<li>Qt::AlignLeft</li>
<li>Qt::AlignHCenter</li>
<li>Qt::AlignRight</li>
<li>Qt::AlignTop</li>
<li>Qt::AlignVCenter</li>
<li>Qt::AlignBottom</li>
<li>Qt::AlignBaseline</li>
</ul>
</div></div><!-- @@@alignment -->
<br/>
<!-- $$$bottomMargin -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="bottomMargin-attached-prop"><td class="tblQmlPropNode"><p><a name="bottomMargin-attached-prop"></a><span class="name">Layout.bottomMargin</span> : <span class="type">real</span></p></td></tr></table></div></div><div class="qmldoc"><p>Specifies the bottom margin outside of an item. If the value is not set, it will use the value from <a href="qml-qtquick-layouts-layout.html#margins-attached-prop">margins</a>.</p>
<p>This QML property was introduced in QtQuick.Layouts 1.2.</p>
<p><b>See also </b><a href="qml-qtquick-layouts-layout.html#margins-attached-prop">margins</a>.</p>
</div></div><!-- @@@bottomMargin -->
<br/>
<!-- $$$column -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="column-attached-prop"><td class="tblQmlPropNode"><p><a name="column-attached-prop"></a><span class="name">Layout.column</span> : <span class="type">int</span></p></td></tr></table></div></div><div class="qmldoc"><p>This property allows you to specify the column position of an item in a <a href="qml-qtquick-layouts-gridlayout.html">GridLayout</a>.</p>
<p>If both <a href="qml-qtquick-layouts-layout.html#row-attached-prop">row</a> and this property are not set, it is up to the layout to assign a cell to the item.</p>
<p>The default value is <code>0</code>.</p>
<p><b>See also </b><a href="qml-qtquick-layouts-layout.html#row-attached-prop">row</a> and <a href="qml-qtquick-layouts-layout.html#columnSpan-attached-prop">columnSpan</a>.</p>
</div></div><!-- @@@column -->
<br/>
<!-- $$$columnSpan -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="columnSpan-attached-prop"><td class="tblQmlPropNode"><p><a name="columnSpan-attached-prop"></a><span class="name">Layout.columnSpan</span> : <span class="type">int</span></p></td></tr></table></div></div><div class="qmldoc"><p>This property allows you to specify the column span of an item in a <a href="qml-qtquick-layouts-gridlayout.html">GridLayout</a>.</p>
<p>The default value is <code>1</code>.</p>
<p><b>See also </b><a href="qml-qtquick-layouts-layout.html#rowSpan-attached-prop">rowSpan</a> and <a href="qml-qtquick-layouts-layout.html#column-attached-prop">column</a>.</p>
</div></div><!-- @@@columnSpan -->
<br/>
<!-- $$$fillHeight -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="fillHeight-attached-prop"><td class="tblQmlPropNode"><p><a name="fillHeight-attached-prop"></a><span class="name">Layout.fillHeight</span> : <span class="type">bool</span></p></td></tr></table></div></div><div class="qmldoc"><p>If this property is <code>true</code>, the item will be as tall as possible while respecting the given constraints. If the property is <code>false</code>, the item will have a fixed height set to the preferred height. The default is <code>false</code>, except for layouts themselves, which default to <code>true</code>.</p>
<p><b>See also </b><a href="qml-qtquick-layouts-layout.html#fillWidth-attached-prop">fillWidth</a>.</p>
</div></div><!-- @@@fillHeight -->
<br/>
<!-- $$$fillWidth -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="fillWidth-attached-prop"><td class="tblQmlPropNode"><p><a name="fillWidth-attached-prop"></a><span class="name">Layout.fillWidth</span> : <span class="type">bool</span></p></td></tr></table></div></div><div class="qmldoc"><p>If this property is <code>true</code>, the item will be as wide as possible while respecting the given constraints. If the property is <code>false</code>, the item will have a fixed width set to the preferred width. The default is <code>false</code>, except for layouts themselves, which default to <code>true</code>.</p>
<p><b>See also </b><a href="qml-qtquick-layouts-layout.html#fillHeight-attached-prop">fillHeight</a>.</p>
</div></div><!-- @@@fillWidth -->
<br/>
<!-- $$$leftMargin -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="leftMargin-attached-prop"><td class="tblQmlPropNode"><p><a name="leftMargin-attached-prop"></a><span class="name">Layout.leftMargin</span> : <span class="type">real</span></p></td></tr></table></div></div><div class="qmldoc"><p>Specifies the left margin outside of an item. If the value is not set, it will use the value from <a href="qml-qtquick-layouts-layout.html#margins-attached-prop">margins</a>.</p>
<p>This QML property was introduced in QtQuick.Layouts 1.2.</p>
<p><b>See also </b><a href="qml-qtquick-layouts-layout.html#margins-attached-prop">margins</a>.</p>
</div></div><!-- @@@leftMargin -->
<br/>
<!-- $$$margins -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="margins-attached-prop"><td class="tblQmlPropNode"><p><a name="margins-attached-prop"></a><span class="name">Layout.margins</span> : <span class="type">real</span></p></td></tr></table></div></div><div class="qmldoc"><p>Sets the margins outside of an item to all have the same value. The item itself does not evaluate its own margins. It is the parents responsibility to decide if it wants to evaluate the margins.</p>
<p>Specifically, margins are only evaluated by <a href="qml-qtquick-layouts-columnlayout.html">ColumnLayout</a>, <a href="qml-qtquick-layouts-rowlayout.html">RowLayout</a>, <a href="qml-qtquick-layouts-gridlayout.html">GridLayout</a>, and other layout-like containers, such as SplitView, where the effective cell size of an item will be increased as the margins are increased.</p>
<p>Therefore, if an item with margins is a child of another <code>Item</code>, its position, size and implicit size will remain unchanged.</p>
<p>Combining margins with alignment will align the item *including* its margins. For instance, a vertically-centered Item with top margin 1 and bottom margin 9 will cause the Items effective alignment within the cell to be 4 pixels above the center.</p>
<p>The default value is 0</p>
<p>This QML property was introduced in QtQuick.Layouts 1.2.</p>
<p><b>See also </b><a href="qml-qtquick-layouts-layout.html#leftMargin-attached-prop">leftMargin</a>, <a href="qml-qtquick-layouts-layout.html#topMargin-attached-prop">topMargin</a>, <a href="qml-qtquick-layouts-layout.html#rightMargin-attached-prop">rightMargin</a>, and <a href="qml-qtquick-layouts-layout.html#bottomMargin-attached-prop">bottomMargin</a>.</p>
</div></div><!-- @@@margins -->
<br/>
<!-- $$$maximumHeight -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="maximumHeight-attached-prop"><td class="tblQmlPropNode"><p><a name="maximumHeight-attached-prop"></a><span class="name">Layout.maximumHeight</span> : <span class="type">real</span></p></td></tr></table></div></div><div class="qmldoc"><p>The default value is the items implicit maximum height.</p>
<p>If the item is a layout, the implicit maximum height will be the maximum height the layout can have without any of its items grow beyond their maximum height. The implicit maximum height for any other item is <code>Number.POSITIVE_INFINITY</code>.</p>
<p>Setting this value to -1 will reset the height back to its implicit maximum height.</p>
<p><b>See also </b><a href="qml-qtquick-layouts-layout.html#minimumHeight-attached-prop">minimumHeight</a> and <a href="qml-qtquick-layouts-layout.html#preferredHeight-attached-prop">preferredHeight</a>.</p>
</div></div><!-- @@@maximumHeight -->
<br/>
<!-- $$$maximumWidth -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="maximumWidth-attached-prop"><td class="tblQmlPropNode"><p><a name="maximumWidth-attached-prop"></a><span class="name">Layout.maximumWidth</span> : <span class="type">real</span></p></td></tr></table></div></div><div class="qmldoc"><p>This property holds the maximum width of an item in a layout. The default value is the items implicit maximum width.</p>
<p>If the item is a layout, the implicit maximum width will be the maximum width the layout can have without any of its items grow beyond their maximum width. The implicit maximum width for any other item is <code>Number.POSITIVE_INFINITY</code>.</p>
<p>Setting this value to -1 will reset the width back to its implicit maximum width.</p>
<p><b>See also </b><a href="qml-qtquick-layouts-layout.html#minimumWidth-attached-prop">minimumWidth</a> and <a href="qml-qtquick-layouts-layout.html#preferredWidth-attached-prop">preferredWidth</a>.</p>
</div></div><!-- @@@maximumWidth -->
<br/>
<!-- $$$minimumHeight -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="minimumHeight-attached-prop"><td class="tblQmlPropNode"><p><a name="minimumHeight-attached-prop"></a><span class="name">Layout.minimumHeight</span> : <span class="type">real</span></p></td></tr></table></div></div><div class="qmldoc"><p>The default value is the items implicit minimum height.</p>
<p>If the item is a layout, the implicit minimum height will be the minimum height the layout can have without any of its items shrink beyond their minimum height. The implicit minimum height for any other item is <code>0</code>.</p>
<p>Setting this value to -1 will reset the height back to its implicit minimum height.</p>
<p><b>See also </b><a href="qml-qtquick-layouts-layout.html#preferredHeight-attached-prop">preferredHeight</a> and <a href="qml-qtquick-layouts-layout.html#maximumHeight-attached-prop">maximumHeight</a>.</p>
</div></div><!-- @@@minimumHeight -->
<br/>
<!-- $$$minimumWidth -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="minimumWidth-attached-prop"><td class="tblQmlPropNode"><p><a name="minimumWidth-attached-prop"></a><span class="name">Layout.minimumWidth</span> : <span class="type">real</span></p></td></tr></table></div></div><div class="qmldoc"><p>This property holds the minimum width of an item in a layout. The default value is the items implicit minimum width.</p>
<p>If the item is a layout, the implicit minimum width will be the minimum width the layout can have without any of its items shrink beyond their minimum width. The implicit minimum width for any other item is <code>0</code>.</p>
<p>Setting this value to -1 will reset the width back to its implicit minimum width.</p>
<p><b>See also </b><a href="qml-qtquick-layouts-layout.html#preferredWidth-attached-prop">preferredWidth</a> and <a href="qml-qtquick-layouts-layout.html#maximumWidth-attached-prop">maximumWidth</a>.</p>
</div></div><!-- @@@minimumWidth -->
<br/>
<!-- $$$preferredHeight -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="preferredHeight-attached-prop"><td class="tblQmlPropNode"><p><a name="preferredHeight-attached-prop"></a><span class="name">Layout.preferredHeight</span> : <span class="type">real</span></p></td></tr></table></div></div><div class="qmldoc"><p>This property holds the preferred height of an item in a layout. If the preferred height is -1 it will be ignored, and the layout will use <a href="../qtquick/qml-qtquick-item.html#implicitHeight-prop">implicitHeight</a> instead. The default is <code>-1</code>.</p>
<p><b>See also </b><a href="qml-qtquick-layouts-layout.html#minimumHeight-attached-prop">minimumHeight</a> and <a href="qml-qtquick-layouts-layout.html#maximumHeight-attached-prop">maximumHeight</a>.</p>
</div></div><!-- @@@preferredHeight -->
<br/>
<!-- $$$preferredWidth -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="preferredWidth-attached-prop"><td class="tblQmlPropNode"><p><a name="preferredWidth-attached-prop"></a><span class="name">Layout.preferredWidth</span> : <span class="type">real</span></p></td></tr></table></div></div><div class="qmldoc"><p>This property holds the preferred width of an item in a layout. If the preferred width is -1 it will be ignored, and the layout will use <a href="../qtquick/qml-qtquick-item.html#implicitWidth-prop">implicitWidth</a> instead. The default is <code>-1</code>.</p>
<p><b>See also </b><a href="qml-qtquick-layouts-layout.html#minimumWidth-attached-prop">minimumWidth</a> and <a href="qml-qtquick-layouts-layout.html#maximumWidth-attached-prop">maximumWidth</a>.</p>
</div></div><!-- @@@preferredWidth -->
<br/>
<!-- $$$rightMargin -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="rightMargin-attached-prop"><td class="tblQmlPropNode"><p><a name="rightMargin-attached-prop"></a><span class="name">Layout.rightMargin</span> : <span class="type">real</span></p></td></tr></table></div></div><div class="qmldoc"><p>Specifies the right margin outside of an item. If the value is not set, it will use the value from <a href="qml-qtquick-layouts-layout.html#margins-attached-prop">margins</a>.</p>
<p>This QML property was introduced in QtQuick.Layouts 1.2.</p>
<p><b>See also </b><a href="qml-qtquick-layouts-layout.html#margins-attached-prop">margins</a>.</p>
</div></div><!-- @@@rightMargin -->
<br/>
<!-- $$$row -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="row-attached-prop"><td class="tblQmlPropNode"><p><a name="row-attached-prop"></a><span class="name">Layout.row</span> : <span class="type">int</span></p></td></tr></table></div></div><div class="qmldoc"><p>This property allows you to specify the row position of an item in a <a href="qml-qtquick-layouts-gridlayout.html">GridLayout</a>.</p>
<p>If both <a href="qml-qtquick-layouts-layout.html#column-attached-prop">column</a> and this property are not set, it is up to the layout to assign a cell to the item.</p>
<p>The default value is <code>0</code>.</p>
<p><b>See also </b><a href="qml-qtquick-layouts-layout.html#column-attached-prop">column</a> and <a href="qml-qtquick-layouts-layout.html#rowSpan-attached-prop">rowSpan</a>.</p>
</div></div><!-- @@@row -->
<br/>
<!-- $$$rowSpan -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="rowSpan-attached-prop"><td class="tblQmlPropNode"><p><a name="rowSpan-attached-prop"></a><span class="name">Layout.rowSpan</span> : <span class="type">int</span></p></td></tr></table></div></div><div class="qmldoc"><p>This property allows you to specify the row span of an item in a <a href="qml-qtquick-layouts-gridlayout.html">GridLayout</a>.</p>
<p>The default value is <code>1</code>.</p>
<p><b>See also </b><a href="qml-qtquick-layouts-layout.html#columnSpan-attached-prop">columnSpan</a> and <a href="qml-qtquick-layouts-layout.html#row-attached-prop">row</a>.</p>
</div></div><!-- @@@rowSpan -->
<br/>
<!-- $$$topMargin -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="topMargin-attached-prop"><td class="tblQmlPropNode"><p><a name="topMargin-attached-prop"></a><span class="name">Layout.topMargin</span> : <span class="type">real</span></p></td></tr></table></div></div><div class="qmldoc"><p>Specifies the top margin outside of an item. If the value is not set, it will use the value from <a href="qml-qtquick-layouts-layout.html#margins-attached-prop">margins</a>.</p>
<p>This QML property was introduced in QtQuick.Layouts 1.2.</p>
<p><b>See also </b><a href="qml-qtquick-layouts-layout.html#margins-attached-prop">margins</a>.</p>
</div></div><!-- @@@topMargin -->
<br/>
</div>
</div>
</div>
</div>
</div>
<div class="footer">
<p>
<acronym title="Copyright">©</acronym> 2015 The Qt Company Ltd.
Documentation contributions included herein are the copyrights of
their respective owners.<br> The documentation provided herein is licensed under the terms of the <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation License version 1.3</a> as published by the Free Software Foundation.<br> Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property
of their respective owners. </p>
</div>
</body>
</html>
|