Re: Java FX dark theme

2021-07-25 Thread Sebastian Stenzel
The tray icon is (imho) the last important components that is missing in OpenJFX for desktop applications. At the moment you need to use AWT or native libs. You can of course create the icon without a menu and implement an undecorated stage with custom styling that you position next to the

Re: Java FX dark theme

2021-07-25 Thread Davide Perini
Subscribed to the channel, very interesting chanenel congrats. I'll do the way you suggested, thanks! Do you have some tips on how to style the tray icon? I have implemented a tray icon following this tutorial https://docs.oracle.com/javase/tutorial/uiswing/misc/systemtray.html but styling a

Re: Java FX dark theme

2021-07-24 Thread Tom Schindl
Hi, As the picture did not made it through i can only guess that we talk about the window trim who is controlled by the OS and so JavaFX has no control how it is drawn. So the „solution“ is to use a StageStyle.UNDECORATED and draw a trim with min/max/close yourself, implement window

Java FX dark theme

2021-07-24 Thread Davide Perini
Hi all, I am using some CSS rules to create a "dark theme". Is it possible to change the color of the window? As you can see in this picture I have a dark theme but the window border is white. can I change that color? Thank you. Davide