summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-09-28 11:36:15 +0100
committerCaolán McNamara <caolanm@redhat.com>2017-09-28 13:03:59 +0200
commite302ade40e202d285e2208fb6190850e126b4eae (patch)
tree7e28dfcd6b1873dda205b1963738e70dd5743230 /sfx2
parent0f6b9eca2007629e61d3ab9cdf2a616a33cbdefe (diff)
Related: tdf#109385 make default panel width wider
Change-Id: Ia1c5fc96ccb8b91a3091ef925526a277f25662c6 Reviewed-on: https://gerrit.libreoffice.org/42900 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/sidebar/SidebarChildWindow.cxx2
1 files changed, 1 insertions, 1 deletions
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();