diff options
author | Andrew den Exter <andrew.den-exter@nokia.com> | 2012-03-26 12:04:00 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-03-26 04:42:15 +0200 |
commit | 6cdfad980d760ef87b8f425cf1affda16fa76a62 (patch) | |
tree | 0a8308a6a4192b3657294e6003e28435729818bc /tests/auto/quick/qquickanchors/data | |
parent | d120c3c383d7db7a7c7f1602ba27f04cebb8abfa (diff) |
Update item anchors when the baseline offset changes.
Task-number: QTBUG-24303
Change-Id: I75fb8eb8afb48a3f40fa159d914ac12ab6bc9ffe
Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
Diffstat (limited to 'tests/auto/quick/qquickanchors/data')
-rw-r--r-- | tests/auto/quick/qquickanchors/data/baselineOffset.qml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/auto/quick/qquickanchors/data/baselineOffset.qml b/tests/auto/quick/qquickanchors/data/baselineOffset.qml new file mode 100644 index 0000000000..8bae61d16d --- /dev/null +++ b/tests/auto/quick/qquickanchors/data/baselineOffset.qml @@ -0,0 +1,15 @@ +import QtQuick 2.0 + +Item { + width: 200 + height: 200 + + Item { + objectName: "baselineAnchored" + + width: 200 + height: 10 + + anchors.baseline: parent.verticalCenter + } +} |