changeset 2007:c2097a6f1b84

Fixed a typo bug in Layout::setSizeHints
author Jorge Arellano Cid <jcid@dillo.org>
date Fri, 06 May 2011 18:50:29 -0300
parents 290120457e42
children 0da9d72218ee
files dw/layout.cc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/dw/layout.cc	Mon May 02 21:40:00 2011 +0200
+++ b/dw/layout.cc	Fri May 06 18:50:29 2011 -0300
@@ -698,7 +698,7 @@
    if (topLevel) {
       topLevel->setWidth (viewportWidth
                           - (canvasHeightGreater ? vScrollbarThickness : 0));
-      topLevel->setAscent (viewportHeight - vScrollbarThickness);
+      topLevel->setAscent (viewportHeight - hScrollbarThickness);
       topLevel->setDescent (0);
    }
 }