sfx2/source/sidebar/SidebarController.cxx | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-)
New commits: commit 8ac95e67872d8834c12adf67f833d92b06dc3d70 Author: Ashod Nakashian <ashod.nakash...@collabora.co.uk> AuthorDate: Sun Dec 16 12:25:18 2018 -0500 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Fri Jul 26 20:25:47 2019 +0200 sfx: LOK: fix the minimum height of sidebars Change-Id: I29d4eb38c72db50061266f0cf0ace31bab690315 Reviewed-on: https://gerrit.libreoffice.org/73521 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/sfx2/source/sidebar/SidebarController.cxx b/sfx2/source/sidebar/SidebarController.cxx index a0f9cbd1dae4..f099e5f7c5d2 100644 --- a/sfx2/source/sidebar/SidebarController.cxx +++ b/sfx2/source/sidebar/SidebarController.cxx @@ -408,11 +408,10 @@ void SidebarController::NotifyResize() // No TabBar in LOK. if (comphelper::LibreOfficeKit::isActive()) { - const sal_Int32 nMinimalHeight = mpCurrentDeck->GetMinimalHeight(); - if (nMinimalHeight > 0) - mpCurrentDeck->setPosSizePixel(nDeckX, 0, nWidth, nMinimalHeight); - else - mpCurrentDeck->setPosSizePixel(nDeckX, 0, nWidth, nHeight); + // The minimal deck height is unreliable because of + // the fluid way the panels are stretched. Fix minimum manually. + // const sal_Int32 nMinimalHeight = mpCurrentDeck->GetMinimalHeight(); + mpCurrentDeck->setPosSizePixel(nDeckX, 0, nWidth, 600); } else mpCurrentDeck->setPosSizePixel(nDeckX, 0, nWidth - nTabBarDefaultWidth, nHeight); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits