List of usage examples for javafx.scene.control ProgressIndicator setPrefHeight
public final void setPrefHeight(double value)
From source file:com.playonlinux.ui.impl.javafx.mainwindow.center.ViewApps.java
private void initWait() { ProgressIndicator progressIndicator = new ProgressIndicator(); progressIndicator.setPrefWidth(64);//from w w w. j av a2s . com progressIndicator.setPrefHeight(64); progressIndicatorPanel = new HBox(); progressIndicatorPanel.getStyleClass().add("rightPane"); progressIndicatorPanel.getChildren().add(progressIndicator); progressIndicatorPanel.setAlignment(Pos.CENTER); }
From source file:dpfmanager.shell.interfaces.gui.component.dessign.DessignView.java
private void showLoadingConfig() { ProgressIndicator pi = new ProgressIndicator(); pi.setPrefWidth(75);//from w ww . j a v a 2s.com pi.setPrefHeight(75); pi.setProgress(-1); vBoxConfig = new VBox(); vBoxConfig.setAlignment(Pos.TOP_CENTER); vBoxConfig.setPrefWidth(configScroll.getWidth() - 5); vBoxConfig.getChildren().add(pi); VBox.setMargin(pi, new Insets(10, 0, 0, 0)); configScroll.setContent(vBoxConfig); }