diff options
Diffstat (limited to 'sfx2/source/sidebar/SidebarChildWindow.cxx')
-rw-r--r-- | sfx2/source/sidebar/SidebarChildWindow.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/sidebar/SidebarChildWindow.cxx b/sfx2/source/sidebar/SidebarChildWindow.cxx index 8ef593acd01c..f4347b1ccbf8 100644 --- a/sfx2/source/sidebar/SidebarChildWindow.cxx +++ b/sfx2/source/sidebar/SidebarChildWindow.cxx @@ -68,7 +68,7 @@ sal_Int32 SidebarChildWindow::GetDefaultWidth (Window* pWindow) const static sal_Int32 nMaxPropertyPageWidth (115); return pWindow->LogicToPixel(Point(nMaxPropertyPageWidth,1), MAP_APPFONT).X() - + TabBar::GetDefaultWidth(); + + TabBar::GetDefaultWidth() * pWindow->GetDPIScaleFactor(); } else return 0; |