Made the palette a widget.