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 #include #include +#include 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);