diff options
author | Sami Merila <sami.merila@nokia.com> | 2011-03-29 07:03:35 (GMT) |
---|---|---|
committer | Sami Merila <sami.merila@nokia.com> | 2011-03-29 07:03:35 (GMT) |
commit | 4f8d4492b8cafcdef71b5b40482c1eddb23062ab (patch) | |
tree | 3fdba5e05e238f0af5e16ec42fdfa9fdfdf86732 /src/declarative/declarative.pro | |
parent | 5a6acc0ba1ed3b056f4c7a9c37481f4cb347a352 (diff) | |
download | Qt-4f8d4492b8cafcdef71b5b40482c1eddb23062ab.zip Qt-4f8d4492b8cafcdef71b5b40482c1eddb23062ab.tar.gz Qt-4f8d4492b8cafcdef71b5b40482c1eddb23062ab.tar.bz2 |
Fix for failing autotest QToolBar/Symbian
QS60Style was calculating the minimum size of a toolbutton inside
a toolbar based on number of visible buttons. Of course, when the
non-visible buttons become visible and we are limiting the toolbar
width to screen width it fails (since the orginally visible button is
already claiming to take whole width of toolbar and now-visible button
is taking half the button width).
As a fix, calculate minimum size based on number buttons only,
irregardless of their visibility.
Task-number: QTBUG-17777
Reviewed-by: Miikka Heikkinen
Diffstat (limited to 'src/declarative/declarative.pro')
0 files changed, 0 insertions, 0 deletions