diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2014-12-26 20:33:34 +0900 |
---|---|---|
committer | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2014-12-26 20:42:12 +0900 |
commit | 8a009858aa25825e26eb9f04ea1d3620445e6709 (patch) | |
tree | 9a3e4aea95a7f708cc73c81e8b6c33a6cd747719 /framework | |
parent | f37ccf3ed8aae4e2d5191fb97aa28446541ff790 (diff) |
Adjust the statusbar item widths according to HiDPI scaling factor
Change-Id: Id697b3b799c7437d937de6534edf88083e5c4dfd
Diffstat (limited to 'framework')
-rw-r--r-- | framework/source/uielement/statusbarmanager.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/framework/source/uielement/statusbarmanager.cxx b/framework/source/uielement/statusbarmanager.cxx index 8c166e4532ce..23a630649cb2 100644 --- a/framework/source/uielement/statusbarmanager.cxx +++ b/framework/source/uielement/statusbarmanager.cxx @@ -147,6 +147,7 @@ StatusBarManager::StatusBarManager( m_xStatusbarControllerFactory = frame::theStatusbarControllerFactory::get( ::comphelper::getProcessComponentContext()); + m_pStatusBar->AdjustItemWidthsForHiDPI(true); m_pStatusBar->SetClickHdl( LINK( this, StatusBarManager, Click ) ); m_pStatusBar->SetDoubleClickHdl( LINK( this, StatusBarManager, DoubleClick ) ); } |