qt-quick-for-designers-1:positioning_elements
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
qt-quick-for-designers-1:positioning_elements [2013/07/06 21:14] – mithat | qt-quick-for-designers-1:positioning_elements [2013/07/06 22:52] (current) – mithat | ||
---|---|---|---|
Line 2: | Line 2: | ||
===== Absolute positioning ===== | ===== Absolute positioning ===== | ||
- | {{dailymotion>x11la0b?small}} | + | {{youtube>sgQbKeIGf5M?small}} |
* You can define an item's position and size within its parent. | * You can define an item's position and size within its parent. | ||
Line 26: | Line 26: | ||
===== Relative positioning ===== | ===== Relative positioning ===== | ||
- | {{dailymotion>x11labg?small}} | + | {{youtube>2BpsjJmhmH0?small}} |
* **Anchors** provide a way to position an item by specifying its relationship with other items. | * **Anchors** provide a way to position an item by specifying its relationship with other items. | ||
<file javascript anchors-positioners.qml> | <file javascript anchors-positioners.qml> | ||
Line 47: | Line 47: | ||
}</ | }</ | ||
==== Multiple items ==== | ==== Multiple items ==== | ||
- | {{youtube> | + | {{youtube> |
* Many ways to specify how an item is related to another: | * Many ways to specify how an item is related to another: | ||
* '' | * '' | ||
Line 81: | Line 81: | ||
</ | </ | ||
- | -------------------------------------------------------------- | ||
====== Resources ====== | ====== Resources ====== | ||
- | {{: | + | * {{: |
- | {{: | + | * All source code is subject to this [[copyright header|copyright]]. |
- | {{: | + |
qt-quick-for-designers-1/positioning_elements.1373145272.txt.gz · Last modified: 2013/07/06 21:14 by mithat