cssfx
cssfx copied to clipboard
Allow runtime modification of JavaFX CSS
People reported me they were using CSS like ``` scene.getStylesheets().add("/styles/main.css") ``` instead of using a URL. The [JavaFX CSS reference guide](http://docs.oracle.com/javase/8/javafx/api/javafx/scene/doc-files/cssref.html) says that CSS should be referenced by URL. Not...
While working on dark mode support I noticed that I could not disable the dark mode anymore. I enable dark mode by adding additional stylesheets to my application. Then when...
Our application uses AfterburnerFX and tons of FXML files. The CSS files are discovered either by "Convention" (css file has same name as fxml file) or via "Configuration" (declared explicitly...
When I define global CSS file for all stages of javafx application (see below), then changes aren't reloaded. ``` final URL globalCssFile = getClass().getResource("styles/Global.css"); Application.setUserAgentStylesheet(globalCssFile.toExternalForm()); ```
if we execute `mvn test`, then tests in BasicUITest fail. executed standalone `mvn test -Dtest=BasicUITest` it works correctly.
Currently cssfx doesn't support "include" inside of css files. A lot of people are missing this feature.
…arted. Useful to check whether it's active in a production environment, without relying on JVM-Arguments.
aims to be a simpified version of #46
Pretty simple issue actually. Here is a visualVM screenshot:  `PathsWatcher.stop` should call `watchService.close()` but doesn't. ```java private WatchService watchService; public void stop() { watcherThread.interrupt(); // add: watchService.stop(); // might...