Example usage for javafx.scene.layout Region minHeightProperty

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

Introduction

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

Prototype

public final DoubleProperty minHeightProperty() 

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