Skip to content

Arrow icons customization - #98

Merged
bobbylight merged 7 commits into
bobbylight:masterfrom
sesquialtera87:custom-description-window-icons
Aug 18, 2026
Merged

Arrow icons customization#98
bobbylight merged 7 commits into
bobbylight:masterfrom
sesquialtera87:custom-description-window-icons

Conversation

@sesquialtera87

Copy link
Copy Markdown
Contributor

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
@bobbylight bobbylight modified the milestones: 3.3.3, 4.0.0 Jul 31, 2026
@bobbylight
bobbylight marked this pull request as draft August 4, 2026 01:17
@bobbylight
bobbylight marked this pull request as ready for review August 4, 2026 01:17
@bobbylight bobbylight closed this Aug 4, 2026
@bobbylight bobbylight reopened this Aug 4, 2026
@bobbylight

Copy link
Copy Markdown
Owner

@sesquialtera87 can you rebase and fix the checkstyle issues (I think the workflows should run now)? 🙏

@sesquialtera87
sesquialtera87 force-pushed the custom-description-window-icons branch from 53e528f to 6ed5dc6 Compare August 17, 2026 21:16
@sesquialtera87

Copy link
Copy Markdown
Contributor Author

I’ve rebased the branch onto the latest master and fixed all the Checkstyle violations.
The build now completes successfully without any style issues. Let me know if anything else needs to be adjusted.

@bobbylight
bobbylight merged commit 09c977c into bobbylight:master Aug 18, 2026
4 checks passed
@bobbylight

Copy link
Copy Markdown
Owner

Thanks for the PR!

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