summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2019-08-20 16:10:51 +0300
committerTor Lillqvist <tml@collabora.com>2019-08-20 16:31:43 +0200
commite84c42ee32d1a23729c65b534c4418e2043f706d (patch)
tree45a99c93cebee0e5ccfcd1676de3033e68915087
parentFix Windows build after commit 2a97d38fbf89ef6f17452fa9d93c2d6fb062f233 (diff)
downloadcore-e84c42ee32d1a23729c65b534c4418e2043f706d.tar.gz
core-e84c42ee32d1a23729c65b534c4418e2043f706d.zip
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>
-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 938fb1a4c199..7c87210fa022 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 );
}
};