[Libreoffice-commits] core.git: sfx2/source
Caolán McNamara
caolanm at redhat.com
Thu Sep 28 11:04:22 UTC 2017
sfx2/source/sidebar/SidebarChildWindow.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit e302ade40e202d285e2208fb6190850e126b4eae
Author: Caolán McNamara <caolanm at redhat.com>
Date: Thu Sep 28 11:36:15 2017 +0100
Related: tdf#109385 make default panel width wider
Change-Id: Ia1c5fc96ccb8b91a3091ef925526a277f25662c6
Reviewed-on: https://gerrit.libreoffice.org/42900
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/sfx2/source/sidebar/SidebarChildWindow.cxx b/sfx2/source/sidebar/SidebarChildWindow.cxx
index 1ffacbe29cde..84515860814e 100644
--- a/sfx2/source/sidebar/SidebarChildWindow.cxx
+++ b/sfx2/source/sidebar/SidebarChildWindow.cxx
@@ -68,7 +68,7 @@ sal_Int32 SidebarChildWindow::GetDefaultWidth (vcl::Window const * pWindow)
if (pWindow != nullptr)
{
// Width of the paragraph panel.
- const static sal_Int32 nMaxPropertyPageWidth (115);
+ const static sal_Int32 nMaxPropertyPageWidth(146);
return pWindow->LogicToPixel(Point(nMaxPropertyPageWidth,1), MapUnit::MapAppFont).X()
+ TabBar::GetDefaultWidth() * pWindow->GetDPIScaleFactor();
More information about the Libreoffice-commits
mailing list