From c6a822790d93f5fdbdf57ad6857c1663504bf37a Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Tue, 20 Aug 2019 16:10:51 +0300 Subject: tdf#126964: Set background colours to white in IosSalFrame::UpdateSettings() Change-Id: I92110a7a501571d7fd707dc33502ff553f02ae5e Reviewed-on: https://gerrit.libreoffice.org/77823 Reviewed-by: Tor Lillqvist Tested-by: Tor Lillqvist (cherry picked from commit e84c42ee32d1a23729c65b534c4418e2043f706d) Reviewed-on: https://gerrit.libreoffice.org/78994 (cherry picked from commit 1e7a3f82324c3b855c2b3c1f8d4dec73c5162806) --- vcl/ios/iosinst.cxx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'vcl/ios') 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 ); } }; -- cgit