Skip to content

Conversation

@sesquialtera87
Copy link

It would be nice to have a way to change the icons appearing in the description window.
In may case, I'm using FlatLaf and I prefer to change the default icons of the AutoCompleteDescWindow with other flat icons.
Currently I didn't find any solution, since also backAction and forwardAction are private fields, and so subclass AutoCompleteDescWindow it's not helpful.

I propose to search for the icons into the UIManager, so that one can customize them simply through UIManager.put("autocomplete.leftArrow", icon) and UIManager.put("autocomplete.rightArrow", icon).

During initialization, ToolBarForwardAction and ToolBarBakcAction search for custom icons and, if not found, use the default currently provided by the library.

@bobbylight bobbylight self-assigned this May 3, 2025
@bobbylight bobbylight added this to the 3.3.3 milestone May 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants