diff options
author | Ashod Nakashian <ashod.nakashian@collabora.co.uk> | 2018-10-21 19:29:38 -0400 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-07-25 19:25:01 +0200 |
commit | ca8f1ff34e291b74068dace619e58c37ef169f88 (patch) | |
tree | 3746aeb309ebc75f38d017d5f01a2d21e7b88368 /vcl/source/window/dockwin.cxx | |
parent | 987c03d5c237c6a86ac886991435220e7381ced1 (diff) |
LOK: support resizing windows
And delegate resizing of floating windows.
Currently used for resizing sidebars in LOK.
Change-Id: Iadc1b71c15a7d16a8c9dd7246490ae6bd645644c
Reviewed-on: https://gerrit.libreoffice.org/73509
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/source/window/dockwin.cxx')
-rw-r--r-- | vcl/source/window/dockwin.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/vcl/source/window/dockwin.cxx b/vcl/source/window/dockwin.cxx index 47f050d1af99..baa7da9c7a34 100644 --- a/vcl/source/window/dockwin.cxx +++ b/vcl/source/window/dockwin.cxx @@ -833,6 +833,11 @@ void DockingWindow::setPosSizePixel( long nX, long nY, { if (!mpFloatWin) Window::setPosSizePixel( nX, nY, nWidth, nHeight, nFlags ); + else + { + mpFloatWin->SetOutputSizePixel(Size(nWidth, nHeight)); + mpFloatWin->SetPosPixel(Point(nX, nY)); + } } if (::isLayoutEnabled(this)) |