┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/tests/testdir.h
diff options
context:
space:
mode:
authorYichao Yu <[email protected]>2013-11-18 23:40:40 +0100
committerFrank Reininghaus <[email protected]>2013-11-18 23:40:45 +0100
commitc89cd8e789743fbf437ea1971067511c6c57756d (patch)
treee588d6ba6e7cc86151b958bf25847289cd92265c /src/tests/testdir.h
parentc5ba8a56e7f0144d2a74665b4fa459fd45ceedd6 (diff)
Fix scrollbar spacing when no scrollbar is visible in dolphin.
Before this commit, Dolphin reserved space for the scrollbar spacing even when no scrollbar is visible resulting in a ugly gap in the view when: 1. the theme uses QStyle::SH_ScrollView_FrameOnlyAroundContents and 2. the theme has a positive PM_ScrollView_ScrollBarSpacing. QtCurve can have both while Oxygen have 1 but not 2. To reproduce the problem with Oxygen style. Replace the `width += ....` (which returns -2 or 0 for Oxygen) with `width += 2`. See more info here: https://github.com/QtCurve/qtcurve-qt4/issues/9#issuecomment-28630517 CCBUG: 306631 FIXED-IN: 4.11.4 REVIEW: 113902
Diffstat (limited to 'src/tests/testdir.h')
0 files changed, 0 insertions, 0 deletions