summaryrefslogtreecommitdiff
path: root/vcl/ios
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2019-08-20 16:10:51 +0300
committerTor Lillqvist <tml@collabora.com>2019-10-07 14:55:56 +0300
commitc6a822790d93f5fdbdf57ad6857c1663504bf37a (patch)
tree64ce30ed2d3cb9535b3280f24e64fd68cbb84b92 /vcl/ios
parentff2b56672203990fb1ee0445977aaee7754a9f3e (diff)
tdf#126964: Set background colours to white in IosSalFrame::UpdateSettings()
Change-Id: I92110a7a501571d7fd707dc33502ff553f02ae5e Reviewed-on: https://gerrit.libreoffice.org/77823 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com> (cherry picked from commit e84c42ee32d1a23729c65b534c4418e2043f706d) Reviewed-on: https://gerrit.libreoffice.org/78994 (cherry picked from commit 1e7a3f82324c3b855c2b3c1f8d4dec73c5162806)
Diffstat (limited to 'vcl/ios')
-rw-r--r--vcl/ios/iosinst.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/vcl/ios/iosinst.cxx b/vcl/ios/iosinst.cxx
index 19cc75e5057b..dede35d52b89 100644
--- a/vcl/ios/iosinst.cxx
+++ b/vcl/ios/iosinst.cxx
@@ -122,6 +122,12 @@ public:
aStyleSet.SetTabFont( aFont );
aStyleSet.SetGroupFont( aFont );
+ Color aBackgroundColor( 0xff, 0xff, 0xff );
+ aStyleSet.BatchSetBackgrounds( aBackgroundColor, false );
+ aStyleSet.SetMenuColor( aBackgroundColor );
+ aStyleSet.SetMenuBarColor( aBackgroundColor );
+ aStyleSet.SetDialogColor( aBackgroundColor );
+
rSettings.SetStyleSettings( aStyleSet );
}
};