aboutsummaryrefslogtreecommitdiff
path: root/dw/layout.cc
diff options
context:
space:
mode:
Diffstat (limited to 'dw/layout.cc')
-rw-r--r--dw/layout.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/dw/layout.cc b/dw/layout.cc
index ee54e892..4a5be74e 100644
--- a/dw/layout.cc
+++ b/dw/layout.cc
@@ -943,6 +943,8 @@ void Layout::resizeIdle ()
assert (topLevel->needsAllocate ());
allocation.x = allocation.y = 0;
+ if (usesViewport && view->getScrollbarOnLeft())
+ allocation.x += currVScrollbarThickness();
allocation.width = requisition.width;
allocation.ascent = requisition.ascent;
allocation.descent = requisition.descent;