diff options
author | Eduardo M. Fleury <eduardo.fleury@openbossa.org> | 2009-09-11 20:59:46 (GMT) |
---|---|---|
committer | Jan-Arve Sæther <jan-arve.saether@nokia.com> | 2009-09-17 11:57:55 (GMT) |
commit | 17607be158a8d5605ea2426ec4aa9925bd628a2a (patch) | |
tree | a3716c9f5a157cbcf9bc3bee013688c0b0d05869 /src/xmlpatterns | |
parent | e7c36fc2e420f1cee4370020b9f50bb5a6dfe92a (diff) | |
download | Qt-17607be158a8d5605ea2426ec4aa9925bd628a2a.zip Qt-17607be158a8d5605ea2426ec4aa9925bd628a2a.tar.gz Qt-17607be158a8d5605ea2426ec4aa9925bd628a2a.tar.bz2 |
QGraphicsAnchorLayout: Fix anchor creation heuristics
Fixing the case where creating an anchor between the
layout Left edge and an item Right edge (or vice-versa)
would have different behaviors depending on the argument
order.
Now both calls below have the same meaning:
addAnchor(layout, Qt::AnchorLeft, widget, Qt::AnchorRight)
addAnchor(widget, Qt::AnchorRight, layout, Qt::AnchorLeft)
Signed-off-by: Eduardo M. Fleury <eduardo.fleury@openbossa.org>
Reviewed-by: Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
Diffstat (limited to 'src/xmlpatterns')
0 files changed, 0 insertions, 0 deletions