Hey!
I have a question about the Tool Window’s icon behavior, but I think it should work more commonly.
Icon of a window on the editor’ sides works like this:
Inactive state
Icons just present, no more
Inactive + Hovered state
Actually, there are no Active + hovered state
Active state
Plus hovered, but there are no changes
Inactive, focus changed from the window
I just opened another window (structure view)
Database still open, but inactive. Same as hovered effect
Build-in windows looks great in all states, but custom windows….
Hovered
Active
Inactive
Dark active
Dark inactive
I have the pot icon for dark and light themes, they’re named as pot.svg and pot_dark.svg
I set the icons in the plugin.xml file:
<extensions defaultExtensionNs="com.intellij">
<toolWindow
factoryClass="com.github.xepozz.php_dump.CompositeWindowFactory"
id="PHP Dump" anchor="right" secondary="false" icon="/icons/pot.svg"/>
</extensions>
I looked through the plugin development documentation, SDK and sources.
I cannot find the way to change the icon in the active state.
Has somebody faced the same issue? Any ways to solve it?