Setting x=0 loses the background padding. Before scrollbar appears:
![](http://i.imgur.com/exkm7Ge.png)
After:
![](http://i.imgur.com/Ukwt6Ei.png)
I think this is sufficient:
```java
// Offset widget area y for horizontal scrollbar.
if (scrollX && hScrollOnBottom) widgetAreaBounds.y += scrollbarHeight;
// Offset widget area x for vertical scrollbar.
if (scrollY && !vScrollOnRight) widgetAreaBounds.x += scrollbarWidth;
```
If you think it is fine, I'll commit.