Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to change the background color of popupMenu selection item #684

Open
xcfdszzr opened this issue Nov 29, 2021 · 1 comment
Open

How to change the background color of popupMenu selection item #684

xcfdszzr opened this issue Nov 29, 2021 · 1 comment
Assignees
Labels
Projects

Comments

@xcfdszzr
Copy link

image

@mgarin mgarin self-assigned this Dec 2, 2021
@mgarin mgarin added the question label Dec 2, 2021
@mgarin mgarin added this to Styling in Questions Dec 2, 2021
@mgarin
Copy link
Owner

mgarin commented Dec 2, 2021

You can only change it via adjusting default menu item style or creating a custom one and applying to the specific item instance. If you aren't familiar with how WebLaF styling works - I recommend reading this wiki article:
https://github.com/mgarin/weblaf/wiki/Styling-introduction

The default style of menu item can be found here:
https://github.com/mgarin/weblaf/blob/master/modules/ui/src/com/alee/skin/light/resources/menuitem.xml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Questions
Styling
Development

No branches or pull requests

2 participants