Add a gradient background to CanvasWidget.