vcl/source/window/window2.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 5649ddc290b00510fa89490661d4e9e46fc06d62 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Fri Oct 8 17:00:45 2021 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Fri Oct 8 21:01:45 2021 +0200 vertical centering is WB_VCENTER not WB_CENTER Change-Id: I75cff767008aa215ce43856da4cd31db1b6d83fa Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123269 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> diff --git a/vcl/source/window/window2.cxx b/vcl/source/window/window2.cxx index bf58278e5b15..0703aeaa309f 100644 --- a/vcl/source/window/window2.cxx +++ b/vcl/source/window/window2.cxx @@ -1496,7 +1496,7 @@ bool Window::set_property(const OString &rKey, const OUString &rValue) else if (f == 1.0) nBits |= WB_BOTTOM; else if (f == 0.5) - nBits |= WB_CENTER; + nBits |= WB_VCENTER; SetStyle(nBits); }