diff options
author | Eduardo M. Fleury <eduardo.fleury@openbossa.org> | 2009-10-08 17:30:57 (GMT) |
---|---|---|
committer | Eduardo M. Fleury <eduardo.fleury@openbossa.org> | 2009-10-15 14:37:49 (GMT) |
commit | 80ffc2fa1766aa8009a30de495fc11ab6690bd87 (patch) | |
tree | 626e9d7aa11a8cef86ecb595da2a93446618dc7d /demos/mainwindow/toolbar.h | |
parent | f81a563c74eece173a0cf1d6c3243604c0db0a5b (diff) | |
download | Qt-80ffc2fa1766aa8009a30de495fc11ab6690bd87.zip Qt-80ffc2fa1766aa8009a30de495fc11ab6690bd87.tar.gz Qt-80ffc2fa1766aa8009a30de495fc11ab6690bd87.tar.bz2 |
QGraphicsAnchorLayout: Add test for 'infinite' max size widgets
With four items anchored side by side, each of them being allowed
to grow to QWIDGETSIZE_MAX, we have a situation of fair distribution
because the layout itself can grow only to QWIDGETSIZE_MAX (and not
four times this amount).
This test identified an error on the expanding distribution logic.
Signed-off-by: Eduardo M. Fleury <eduardo.fleury@openbossa.org>
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
Diffstat (limited to 'demos/mainwindow/toolbar.h')
0 files changed, 0 insertions, 0 deletions