Example usage for javafx.scene.layout Region prefHeightProperty

List of usage examples for javafx.scene.layout Region prefHeightProperty

Introduction

In this page you can find the example usage for javafx.scene.layout Region prefHeightProperty.

Prototype

public final DoubleProperty prefHeightProperty() 

Source Link

Usage

From source file:mesclasses.view.TimetableController.java

private void bindHeight(Region node, Pane parent, int divider) {
    node.minHeightProperty().bind(parent.heightProperty().divide(divider));
    node.prefHeightProperty().bind(parent.heightProperty().divide(divider));
    node.maxHeightProperty().bind(parent.heightProperty().divide(divider));
}