Correct QToolBar layout on retina displays.
authorMorten Johan Sørvig <morten.sorvig@digia.com>
Mon, 4 Nov 2013 07:33:37 +0000 (08:33 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 5 Nov 2013 12:38:59 +0000 (13:38 +0100)
commit427e398a7b7f3345fb4dcbc275b3ea29f211851b
tree559c0499e85cfafa0e857e4823eaeb2058250d9e
parentc2600ca630d8adf13d6b8cfea8f833291bf7b6f1
Correct QToolBar layout on retina displays.

QStyleOptionToolButton::iconSize will be 2x on retina
displays. The layout size should not be 2x however,
that causes excessive spacing in the toolbar.

Task-number: QTBUG-34484
Change-Id: I48cf47044af5b76f39e08c1d580034b84ef2755d
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
src/gui/widgets/qtoolbutton.cpp