summaryrefslogtreecommitdiffstats
path: root/src/activeqt
diff options
context:
space:
mode:
authorEduardo M. Fleury <eduardo.fleury@openbossa.org>2009-09-11 21:21:08 (GMT)
committerJan-Arve Sæther <jan-arve.saether@nokia.com>2009-09-17 11:57:59 (GMT)
commit26d3ead5771a67a15a672441ce30359aa355b911 (patch)
treee88a8282861be3784320664a06c7b47a96d630e7 /src/activeqt
parent17607be158a8d5605ea2426ec4aa9925bd628a2a (diff)
downloadQt-26d3ead5771a67a15a672441ce30359aa355b911.zip
Qt-26d3ead5771a67a15a672441ce30359aa355b911.tar.gz
Qt-26d3ead5771a67a15a672441ce30359aa355b911.tar.bz2
QGraphicsAnchorLayout: Handle negative spacing in "setAnchorSpacing"
The simplex solver cannot handle negative-sized anchors. Those should be handled by the layout itself. This is done by inverting such anchors and making their size positive again. Ie. A --> B with size -10 becomes B --> A with size 10 Signed-off-by: Eduardo M. Fleury <eduardo.fleury@openbossa.org> Reviewed-by: Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
Diffstat (limited to 'src/activeqt')
0 files changed, 0 insertions, 0 deletions