svx/source/sidebar/line/LineWidthValueSet.cxx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-)
New commits: commit dfe77798dbb1cd594c82f65de258646b9fa4a689 Author: Noel Grandin <[email protected]> AuthorDate: Wed Oct 8 14:53:58 2025 +0200 Commit: Noel Grandin <[email protected]> CommitDate: Wed Oct 8 18:55:39 2025 +0200 tdf#168240 Sidebar Line Thickness drop down has black background regression from commit 088a7c7c451321a800ca8d3523a18b6bb93239b7 Author: Noel Grandin <[email protected]> Date: Tue Sep 24 16:18:11 2024 +0200 remove alpha device from OutputDevice Change-Id: Id671d55a552e2a0c7011ba516ff1713c7c0d9176 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/192070 Tested-by: Jenkins Reviewed-by: Noel Grandin <[email protected]> diff --git a/svx/source/sidebar/line/LineWidthValueSet.cxx b/svx/source/sidebar/line/LineWidthValueSet.cxx index d7ee509a0354..47f7e670279c 100644 --- a/svx/source/sidebar/line/LineWidthValueSet.cxx +++ b/svx/source/sidebar/line/LineWidthValueSet.cxx @@ -122,11 +122,6 @@ void LineWidthValueSet::UserDraw( const UserDrawEvent& rUDEvt ) pDev->SetFillColor(Color(50,107,197)); pDev->DrawRect(aBackRect); } - else - { - pDev->SetFillColor( COL_TRANSPARENT ); - pDev->DrawRect(aRect); - } //draw text if(nSelItem == nItemId ) @@ -160,6 +155,7 @@ void LineWidthValueSet::SetDrawingArea(weld::DrawingArea* pDrawingArea) Size aSize(pDrawingArea->get_ref_device().LogicToPixel(Size(80, 12 * 9), MapMode(MapUnit::MapAppFont))); pDrawingArea->set_size_request(aSize.Width(), aSize.Height()); SetOutputSizePixel(aSize); + SetColor(Application::GetSettings().GetStyleSettings().GetListBoxWindowBackgroundColor()); } } // end of namespace svx::sidebar
