summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2018-03-16 21:19:10 +0100
committerAndras Timar <andras.timar@collabora.com>2018-03-28 00:05:09 +0200
commit2682c5a0975a4b8f43480eb66ff6a95bbf26fc5e (patch)
tree879de7e36c006cfc56e654e37b3707849c9d554d /vcl
parent1d2dac5af592784b694cd5607ac98103d305f9a7 (diff)
lok: 14pt font is too large for the context menus.
Change-Id: I8403b2bea81e61c4fa24ed205b8d2c77a235238b Reviewed-on: https://gerrit.libreoffice.org/51438 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com> (cherry picked from commit 8e98b3150f7ac0b569b686dd67f4699b307b30f8) Reviewed-on: https://gerrit.libreoffice.org/51439 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jenkins <ci@libreoffice.org> (cherry picked from commit 2dd2d2fd9924e50c5b68c8942c26bf8a07fa2bf0)
Diffstat (limited to 'vcl')
-rw-r--r--vcl/headless/svpframe.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/vcl/headless/svpframe.cxx b/vcl/headless/svpframe.cxx
index 640c84136da5..25419302dc5f 100644
--- a/vcl/headless/svpframe.cxx
+++ b/vcl/headless/svpframe.cxx
@@ -421,6 +421,9 @@ void SvpSalFrame::UpdateSettings( AllSettings& rSettings )
aStdFont.SetWeight( WEIGHT_NORMAL );
aStdFont.SetFamilyName( "Liberation Sans" );
aStyleSettings.BatchSetFonts( aStdFont, aStdFont );
+
+ aStdFont.SetFontSize(Size(0, 12));
+ aStyleSettings.SetMenuFont(aStdFont);
}
rSettings.SetStyleSettings( aStyleSettings );