sfx2/source/sidebar/SidebarChildWindow.cxx | 8 ++++++++ 1 file changed, 8 insertions(+)
New commits: commit a27c613b8305cbf1f541771d23f38dbe65bc51cf Author: Ashod Nakashian <ashod.nakash...@collabora.co.uk> AuthorDate: Wed Oct 3 06:31:33 2018 -0400 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Thu Jul 25 15:16:44 2019 +0200 sfx2: LOK: support resizing the sidebar Change-Id: I852c522f176a8d11d3a19709ab1cd75023645c66 Reviewed-on: https://gerrit.libreoffice.org/73504 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/sfx2/source/sidebar/SidebarChildWindow.cxx b/sfx2/source/sidebar/SidebarChildWindow.cxx index 7153c1d461b1..0e5e73bbfdf5 100644 --- a/sfx2/source/sidebar/SidebarChildWindow.cxx +++ b/sfx2/source/sidebar/SidebarChildWindow.cxx @@ -24,6 +24,7 @@ #include <sfx2/sfxsids.hrc> #include <helpids.h> #include <sfx2/dockwin.hxx> +#include <comphelper/lok.hxx> namespace sfx2 { namespace sidebar { @@ -57,6 +58,13 @@ SidebarChildWindow::SidebarChildWindow (vcl::Window* pParentWindow, sal_uInt16 n pDockingParent->GetSizePixel().Height())); } pDockingParent->Initialize(pInfo); + + if (comphelper::LibreOfficeKit::isActive()) + { + // Undock for Lok. + pDockingParent->SetFloatingSize(Size(400, 600)); + pDockingParent->SetFloatingMode(true); + } } SetHideNotDelete(true); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits