summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorKshitij Pathania <kshitijpathania@gmail.com>2018-07-23 18:40:30 +0530
committerSzymon Kłos <szymon.klos@collabora.com>2018-07-23 19:34:54 +0200
commit8b1208d0b931fbac9cbbf593a2044d63b2933d8b (patch)
tree79ba49a5940d4f5d3f3cf57fbc7be4000617d2c8 /svx
parentec8b4cf748cc12f04cd201b0679868faefa6ac36 (diff)
Notebookbar: Now no white background is visible behind areafillstyle
Change-Id: Ida903be094861991fe36792caa9a6b75738e4f15 Reviewed-on: https://gerrit.libreoffice.org/57847 Tested-by: Jenkins Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/tbxctrls/fillctrl.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/svx/source/tbxctrls/fillctrl.cxx b/svx/source/tbxctrls/fillctrl.cxx
index d1212ed1bdc6..0e3d2ef79936 100644
--- a/svx/source/tbxctrls/fillctrl.cxx
+++ b/svx/source/tbxctrls/fillctrl.cxx
@@ -526,6 +526,8 @@ VclPtr<vcl::Window> SvxFillToolBoxControl::CreateItemWindow(vcl::Window *pParent
mpLbFillType = mpFillControl->mpLbFillType;
mpLbFillAttr = mpFillControl->mpLbFillAttr;
mpToolBoxColor = mpFillControl->mpToolBoxColor;
+ mpFillControl->SetBackground();
+ mpFillControl->SetPaintTransparent( true );
mpFillControl->Resize();
mpToolBoxColor->InsertItem(".uno:FillColor", m_xFrame, ToolBoxItemBits::DROPDOWNONLY, Size(mpToolBoxColor->GetSizePixel().Width(), 0));