Shows and hides the palette based upon the value of has_palette.
has_palette
a ColorSelection
true if palette is to be visible, false otherwise