summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorCaio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>2009-11-19 20:43:18 (GMT)
committerEduardo M. Fleury <eduardo.fleury@openbossa.org>2009-11-25 15:47:05 (GMT)
commit71658bad211f12dd252a432559bd3897a8cb021a (patch)
tree1e1c0e9c27cd2892ecc08746ffc8108f76bc609c /examples
parent106121a74bca32a6411b9ca968ee415f8bdfbff1 (diff)
downloadQt-71658bad211f12dd252a432559bd3897a8cb021a.zip
Qt-71658bad211f12dd252a432559bd3897a8cb021a.tar.gz
Qt-71658bad211f12dd252a432559bd3897a8cb021a.tar.bz2
QGAL: deal correctly with anchors in parallel with the layout
In the preferred size calculation, we should not add 'layout anchors' (either one or the two halves) into the objective function, since the layout doesn't impose or prefer any size at all. This already worked for cases when the layout anchor is one, but not when we have two halves. The mechanism was a 'skipInPreferred' flag that were not being set. The flag is pretty much redundant right now, since we can get this information from the 'isLayoutAnchor' flag. So, the flag was removed and a test was added for both a parallel case with the entire layout and other with half of the layout (which wasn't passing before). Signed-off-by: Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org> Reviewed-by: Eduardo M. Fleury <eduardo.fleury@openbossa.org>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions