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

JTree expand and collapse icons are hardcoded in WebTreeUI #703

Open
mgarin opened this issue Aug 12, 2022 · 0 comments
Open

JTree expand and collapse icons are hardcoded in WebTreeUI #703

mgarin opened this issue Aug 12, 2022 · 0 comments
Assignees
Projects
Milestone

Comments

@mgarin
Copy link
Owner

mgarin commented Aug 12, 2022

Description
JTree expand and collapse icons are hardcoded in WebTreeUI:

    @NotNull
    @Override
    public Icon getExpandedIcon ()
    {
        return tree.isEnabled () ? Icons.squareMinus : Icons.squareMinusDisabled;
    }

    @NotNull
    @Override
    public Icon getCollapsedIcon ()
    {
        return tree.isEnabled () ? Icons.squarePlus : Icons.squarePlusDisabled;
    }

They should instead be configurable via methods in WebTree or the UI implementation.

Additional information
Based on issue mentioned in question: #702

@mgarin mgarin added this to the v1.2.14 milestone Aug 12, 2022
@mgarin mgarin self-assigned this Aug 12, 2022
@mgarin mgarin added this to Planned in v1.3.0 via automation Aug 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
v1.3.0
  
Planned
Development

No branches or pull requests

1 participant