diff options
author | Jorge Arellano Cid <jcid@dillo.org> | 2011-05-12 07:56:37 -0400 |
---|---|---|
committer | Jorge Arellano Cid <jcid@dillo.org> | 2011-05-12 07:56:37 -0400 |
commit | 0b7264545ccd3dfe286e66f7fe1f282c46a12d31 (patch) | |
tree | bf0aa01ea2b8527dc216475bc37a96c9074ea4e3 /dw/layout.cc | |
parent | 3e7f5e64ef7f922afcdaf1152e6c1f2b696f47d8 (diff) |
Bug fix: resize the viewport internally (when attached to a layout)
* It also has a fix for scrollbars resize, and an optimization to avoid
scrollbar adjustment overhead.
Diffstat (limited to 'dw/layout.cc')
-rw-r--r-- | dw/layout.cc | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/dw/layout.cc b/dw/layout.cc index b430eaa1..a02c87b7 100644 --- a/dw/layout.cc +++ b/dw/layout.cc @@ -679,10 +679,9 @@ void Layout::resizeIdle () } // Set viewport sizes. - if (view->usesViewport ()) - view->setViewportSize (viewportWidth, viewportHeight, - actualHScrollbarThickness, - actualVScrollbarThickness); + view->setViewportSize (viewportWidth, viewportHeight, + actualHScrollbarThickness, + actualVScrollbarThickness); } } |