QTabWidget/Win: do not add content margin when documentMode enabled
authorJonathan Liu <net147@gmail.com>
Tue, 5 Apr 2011 09:20:06 +0000 (11:20 +0200)
committerOlivier Goffart <olivier.goffart@nokia.com>
Tue, 10 May 2011 10:54:44 +0000 (12:54 +0200)
commitd001733c2422430f98aca4813854affd33cc6d93
tree049dc03eda9568cf52967235a3dd43c51f674ff0
parent5346d77e8ccba0a7bfb0cc1f257a26865a1c9d42
QTabWidget/Win: do not add content margin when documentMode enabled

QTabWidget has 2 pixel bottom and right content margin. This removes the
margin to maximize the area available for content and improve
consistency with other Qt styles when documentMode is enabled.

Task-number: QTBUG-15769

Merge-request: 957
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@nokia.com>
(cherry picked from commit 23dd5cb45547de167f5c2e78554e9c3013e59998)
src/gui/styles/qwindowsxpstyle.cpp