Skip to content

Inform tool-manager that wx backend wants icons in svg format #28008

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

Closed
wants to merge 1 commit into from

Conversation

jmoraleda
Copy link
Contributor

The refactoring in PR #26710 modified the wx backend to use resolution-independent tool icons in svg format. But informing tool-manager of this change was not done. So toolbar icons do not work when using tool-manager in conjunction with the wx backend. This in particular triggered issue #28007

This PR addresses this problem by informing tool-manager that the wx backend wants icons in svg format.

@ksunden
Copy link
Member

ksunden commented Apr 2, 2024

See also #28007, which does essentially the same thing (though in the class definition, rather than in __init__. That seemed to still have the problem on appveyor though, so if this somehow fixes it where that one did not, I guess we can go with this one.

There is a Linting error, though only an extra space required for the inline comment.

@jmoraleda jmoraleda closed this Apr 2, 2024
@jmoraleda
Copy link
Contributor Author

This also does not fix the appveyor problem, and I think that setting the value in the class definition as in #28007 is better

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

Successfully merging this pull request may close these issues.

2 participants