diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-08-19 16:14:23 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-08-19 16:14:23 +0100 |
commit | 36490fff3f4d1b4a7e4b7902a866abb177a0bf54 (patch) | |
tree | 2019b33967e6d1a58bc746205a2943c7ad20ab2f /vcl | |
parent | 82cb89fa059ea1a0d1e6db05f9edd42d724289f7 (diff) |
facepalm: nAvailHeight is not derived from allocation Width
Change-Id: Ic99c6519b02c546e0d3574cb756e3fb172d1ff52
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/window/layout.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/layout.cxx b/vcl/source/window/layout.cxx index 21e49f58fd55..ffce00dc2004 100644 --- a/vcl/source/window/layout.cxx +++ b/vcl/source/window/layout.cxx @@ -1694,7 +1694,7 @@ void VclScrolledWindow::setAllocation(const Size &rAllocation) if (pChild && pChild->IsVisible()) aChildReq = getLayoutRequisition(*pChild); - long nAvailHeight = rAllocation.Width(); + long nAvailHeight = rAllocation.Height(); long nAvailWidth = rAllocation.Width(); // vert. ScrollBar if (GetStyle() & WB_AUTOVSCROLL) |