Example usage for javafx.scene.control ProgressIndicator setPrefHeight

List of usage examples for javafx.scene.control ProgressIndicator setPrefHeight

Introduction

In this page you can find the example usage for javafx.scene.control ProgressIndicator setPrefHeight.

Prototype

public final void setPrefHeight(double value) 

Source Link

Usage

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);
}