starmath: Use field color for SmEditTextWindow background
With same reasoning as
commit 8bb38e1b3f
Author: Michael Weghorn <m.weghorn@posteo.de>
Date: Mon Oct 14 12:22:32 2024 +0200
tdf#163397 svx: Use field color for WeldEditView bg
Change-Id: Iac0c6b934946b6755ce53ac312c1e637678f966d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176856
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
This commit is contained in:
parent
235aebe31e
commit
4b0b65f760
1 changed files with 1 additions and 2 deletions
|
@ -100,8 +100,7 @@ void SmEditTextWindow::SetDrawingArea(weld::DrawingArea* pDrawingArea)
|
|||
{
|
||||
weld::CustomWidgetController::SetDrawingArea(pDrawingArea);
|
||||
|
||||
const StyleSettings& rStyleSettings = Application::GetSettings().GetStyleSettings();
|
||||
Color aBgColor = rStyleSettings.GetWindowColor();
|
||||
Color aBgColor = Application::GetSettings().GetStyleSettings().GetFieldColor();
|
||||
|
||||
OutputDevice& rDevice = pDrawingArea->get_ref_device();
|
||||
rDevice.SetBackground(aBgColor);
|
||||
|
|
Loading…
Reference in a new issue