summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2009-10-28 05:44:26 (GMT)
committerAlan Alpert <alan.alpert@nokia.com>2009-10-28 05:44:26 (GMT)
commitdbba440da0677b8174d087d498d3d0dbd465548a (patch)
tree1b63947db6ba59703230ea3e3c767dcbb4a1ab4d /examples
parent6be1b102d27610e7d4417222eb4b4dd80d453295 (diff)
downloadQt-dbba440da0677b8174d087d498d3d0dbd465548a.zip
Qt-dbba440da0677b8174d087d498d3d0dbd465548a.tar.gz
Qt-dbba440da0677b8174d087d498d3d0dbd465548a.tar.bz2
Fix dynamic example
Includes adding a comment to the positioners to alert others that you shouldn't use anchors as well.
Diffstat (limited to 'examples')
-rw-r--r--examples/declarative/dynamic/dynamic.qml2
1 files changed, 0 insertions, 2 deletions
diff --git a/examples/declarative/dynamic/dynamic.qml b/examples/declarative/dynamic/dynamic.qml
index e083a5b..885e037 100644
--- a/examples/declarative/dynamic/dynamic.qml
+++ b/examples/declarative/dynamic/dynamic.qml
@@ -68,14 +68,12 @@ Item {
Text{ text: "Drag an item into the scene." }
Row{ id: toolRow
spacing: 8;
- height: childrenRect.height//TODO: Put bug in JIRA when it comes back up
PaletteItem{
anchors.verticalCenter: parent.verticalCenter
file: "Sun.qml";
image: "images/sun.png"
}
PaletteItem{
- anchors.verticalCenter: parent.verticalCenter
file: "GenericItem.qml"
image: "images/moon.png"
}