kirill-grouchnikov / radiance

Building modern, elegant and fast Swing applications
BSD 3-Clause "New" or "Revised" License
807 stars 89 forks source link

[Component] Use consistent group header background painting in color selector popup menu #438

Closed kirill-grouchnikov closed 1 year ago

kirill-grouchnikov commented 1 year ago

Don't use the fill painter as that can draw unwanted visuals such as the specular highlights. Instead, RadianceColorSelectorPanelUI.paintCaptionBackground should do the same as RadianceCommandButtonPanelUI.paintGroupTitleBackground for consistent visuals across similar logical usages.