Closed se7kn8 closed 2 years ago
Hi @SE7-KN8
Yeah I'm not sure that's possible. I don't remember exactly but I think the only option was to set a white icon so that the icon seems as if it is not showing. If this is the case then the only solution might be to create new Dialog controls that replace the standard ones from JavaFX. I would probably make them available in the FXSkins library than style them on JMetro.
As stated, there's no way to fix this in JMetro unfortunately. You can't provide a transparent icon to a window.
The only solution I see is for you to have an icon with a solid color painted on it. That color would be the same as the color of the title bar.
You would also have to add the margin yourself as on a standard window (all white) that margin would look bad.
Closing this issue..
JMetroVersion: 11.6.15 Java Version: 16.0.1 JavaFX Version: 16 OS: Windows 10 21h1
Expected look:
How it looks when the Windows 10 Option "Show accent colour on title bars" is enabled:
Maybe it would help to make the icon transparent and add some margin between the header text and the title bar.