summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dw/layout.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/dw/layout.cc b/dw/layout.cc
index d3983559..b430eaa1 100644
--- a/dw/layout.cc
+++ b/dw/layout.cc
@@ -698,7 +698,7 @@ void Layout::setSizeHints ()
if (topLevel) {
topLevel->setWidth (viewportWidth
- (canvasHeightGreater ? vScrollbarThickness : 0));
- topLevel->setAscent (viewportHeight - vScrollbarThickness);
+ topLevel->setAscent (viewportHeight - hScrollbarThickness);
topLevel->setDescent (0);
}
}