但是使用它会破坏组件的自动调整大小功能。以下是我的代码示例: @Override public void start(Stage stage) throws Exception { FXMLLoader loader = new FXMLLoader(getClass().getResource("ApplicationView.fxml")); Parent root = loader.load(); JFXDecorator decorator = new JFXDecorator(stage, root); decora...
exit(0)); jfxDecorator.setGraphic(icon); jfxDecorator.setTitle("Welcome to MS Paint IDE"); Scene scene = new Scene(jfxDecorator); scene.getStylesheets().add("style.css"); setScene(scene); //this.mainGUI.getThemeManager().addStage(this); show(); setTitle("Welcome to MS Paint IDE");...
The following examples show how to use com.jfoenix.controls.jfxdecorator#setCustomMaximize() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related...
exit(0)); jfxDecorator.setGraphic(icon); jfxDecorator.setTitle("Welcome to MS Paint IDE"); Scene scene = new Scene(jfxDecorator); scene.getStylesheets().add("style.css"); setScene(scene); //this.mainGUI.getThemeManager().addStage(this); show(); setTitle("Welcome to MS Paint IDE");...
setFitWidth(25); JFXDecorator jfxDecorator = new JFXDecorator(this, root, false, true, true); jfxDecorator.setGraphic(icon); jfxDecorator.setTitle("Gradle options"); Scene scene = new Scene(jfxDecorator); scene.getStylesheets().add("style.css"); setScene(scene); this.mainGUI.getThemeManager(...